function getURLParam(strParamName){ var strReturn = ""; var strHref = window.location.href; if ( strHref.indexOf("&") > -1 ){ var strQueryString = strHref.substr(strHref.indexOf("?")+1).toLowerCase(); var aQueryString = strQueryString.split("&"); for ( var iParam = 0; iParam < aQueryString.length; iParam++ ){ if ( aQueryString[iParam].indexOf(strParamName + "=") > -1 ){ var aParam = aQueryString[iParam].split("="); strReturn = aParam[1]; break; } } } return strReturn; } 

function getURL(){ 

var url = window.location.pathname; 
var pageName = url.lastIndexOf('\/');
var dotPosition = url.indexOf('.htm');
var reqFilename = url.substring(pageName + 1, dotPosition);

if(url == '\/')
{
   reqFilename = 'home';
}

return reqFilename;

 } 


//sektion = getURLParam("sektion");  


sektion = getURL();  





document.write('<!-- START HEADER TEST -->'); document.write('<div align="center">'); document.write('<table width="758" border="0" cellspacing="0" cellpadding="0">'); document.write('<tr height="75">');

document.write('<td bgcolor="#333333" width="758" height="75">');
//document.write('<table width="758" border="0" cellspacing="0" cellpadding="0" height="75">'); document.write('<tr>');

document.write('<div id="mydiv"> ');
document.write('<div class="flash"> ');
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="758" height="75" id="menu" align="middle"> ');
document.write('<param name="allowScriptAccess" value="sameDomain" /> ');
document.write('<param name="movie" value="/swf/viprentals.swf" /> ');
document.write('<param name="quality" value="high" /> ');
document.write('<embed src="/swf/viprentals.swf" quality="high" width="758" height="75" name="menu" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> ');
document.write('</object> ');
document.write('</div> ');	
//document.write('</tr>'); document.write('</table>'); 

document.write('</td>');
 document.write('</tr>');
 //document.write('<tr height="20">'); document.write('<td nowrap bgcolor="#333333" width="758" height="20">'); 

document.write('<!-- END HEADER -->'); document.write('<!-- START MAIN NAVIGATION -->'); document.write('<table width="758" border="0" cellspacing="0" cellpadding="0" bgcolor="#cccccc" background="http://www.viprentals.nl/images/m_off.gif">'); document.write('<tr><td>');  document.write('<table width="150" border="0" cellspacing="0" cellpadding="0"><tr>');  if (sektion=="home"){ document.write('<td class="menu_on"><a href="/page/home.htm">Home</a></td>'); document.write('<td bgcolor="#666666" width="1"><img src="/images/_spacer.gif" height="20" width="1" border="0"></td>'); } else { document.write('<td onmouseover="this.className=\'menu_over\';" onmouseout="this.className=\'menu_out\';" class=\'menu_out\'><a href="/page/home.htm">Home</a></td>'); document.write('<td bgcolor="#666666" width="1"><img src="http://www.viprentals.nl/images/_spacer.gif" height="20" width="1" border="0"></td>'); }  document.write('</tr></table>'); document.write('</td><td>');  document.write('<table width="458" border="0" cellspacing="0" cellpadding="0"><tr>');  if (sektion=="trouwauto"){ document.write('<td class="menu_on"><a href="/page/trouwauto.htm"> Trouwauto </a></td>'); document.write('<td bgcolor="#666666" width="1"><img src="http://www.viprentals.nl/images/_spacer.gif" height="20" width="1" border="0"></td>'); } else { document.write('<td onmouseover="this.className=\'menu_over\';" onmouseout="this.className=\'menu_out\';" class=\'menu_out\'><a href="/page/trouwauto.htm"> Trouwauto  </a></td>'); document.write('<td bgcolor="#666666" width="1"><img src="http://www.viprentals.nl/images/_spacer.gif" height="20" width="1" border="0"></td>'); }  if (sektion=="zakelijkvervoer"){ document.write('<td class="menu_on"><a href="/page/zakelijkvervoer.htm"> Zakelijkvervoer  </a></td>'); document.write('<td bgcolor="#666666" width="1"><img src="/images/_spacer.gif" height="20" width="1" border="0"></td>'); } else { document.write('<td onmouseover="this.className=\'menu_over\';" onmouseout="this.className=\'menu_out\';" class=\'menu_out\'><a href="/page/zakelijkvervoer.htm"> Zakelijkvervoer </a></td>'); document.write('<td bgcolor="#666666" width="1"><img src="http://www.viprentals.nl/images/_spacer.gif" height="20" width="1" border="0"></td>'); }  if (sektion=="vipvervoer"){ document.write('<td class="menu_on"><a href="/page/vipvervoer.htm"> VIPvervoer </a></td>'); 
document.write('<td bgcolor="#666666" width="1"><img src="http://www.viprentals.nl/images/_spacer.gif" height="20" width="1" border="0"></td>'); } else { document.write('<td onmouseover="this.className=\'menu_over\';" onmouseout="this.className=\'menu_out\';" class=\'menu_out\'><a href="/page/vipvervoer.htm"> VIPvervoer </a></td>'); 
document.write('<td bgcolor="#666666" width="1"><img src="http://www.viprentals.nl/images/_spacer.gif" height="20" width="1" border="0"></td>'); }  
if (sektion=="promotie"){ document.write('<td class="menu_on"><a href="/page/promotie.htm"> Promotie  </a></td>'); document.write('<td bgcolor="#666666" width="1"><img src="http://www.viprentals.nl/images/_spacer.gif" height="20" width="1" border="0"></td>'); } else { document.write('<td onmouseover="this.className=\'menu_over\';" onmouseout="this.className=\'menu_out\';" class=\'menu_out\'><a href="/page/promotie.htm"> Promotie </a></td>'); document.write('<td bgcolor="#666666" width="1"><img src="http://www.viprentals.nl/images/_spacer.gif" height="20" width="1" border="0"></td>'); }  
if (sektion=="wagenpark"){ document.write('<td class="menu_on"><a href="/page/wagenpark.htm"> Wagenpark </a></td>'); document.write('<td bgcolor="#666666" width="1"><img src="http://www.viprentals.nl/images/_spacer.gif" height="20" width="1" border="0"></td>'); } else { document.write('<td onmouseover="this.className=\'menu_over\';" onmouseout="this.className=\'menu_out\';" class=\'menu_out\'><a href="/page/wagenpark.htm"> Wagenpark </a></td>'); document.write('<td bgcolor="#666666" width="1"><img src="http://www.viprentals.nl/images/_spacer.gif" height="20" width="1" border="0"></td>'); } 
if (sektion=="nieuws"){ document.write('<td class="menu_on"><a href="/page/nieuws.htm"> Nieuws </a></td>'); document.write('<td bgcolor="#666666" width="1"><img src="/images/_spacer.gif" height="20" width="1" border="0"></td>'); } else { document.write('<td onmouseover="this.className=\'menu_over\';" onmouseout="this.className=\'menu_out\';" class=\'menu_out\'><a href="/page/nieuws.htm"> Nieuws </a></td>'); document.write('<td bgcolor="#666666" width="1"><img src="/images/_spacer.gif" height="20" width="1" border="0"></td>'); }
document.write('</tr></table>');  document.write('</td><td>');  document.write('<table width="150" border="0" cellspacing="0" cellpadding="0"><tr>');  
if (sektion=="vipcontact"){
document.write('<td bgcolor="#666666" width="1"><img src="http://www.viprentals.nl/images/_spacer.gif" height="20" width="1" border="0"></td>'); 
document.write('<td class="menu_on"><a href="/page/vipcontact.htm">Contact</a></td>'); } else { document.write('<td bgcolor="#666666" width="1"><img src="http://www.viprentals.nl/images/_spacer.gif" height="20" width="1" border="0"></td>'); 
document.write('<td onmouseover="this.className=\'menu_over\';" onmouseout="this.className=\'menu_out\';" class=\'menu_out\'><a href="/page/vipcontact.htm">Contact</a></td>'); }  document.write('</tr></table>'); 	document.write('</td></tr></table>');  document.write('<!-- END MAIN NAVIGATION -->');  document.write('</td></tr>');  document.write('<tr height="160">'); document.write('<td bgcolor="#333333" width="758" height="160">');    document.write('<!-- START FLASH CONTENT -->');  if (sektion=="home"){ document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="758" HEIGHT="160" id="other"><PARAM NAME=movie VALUE="http://www.viprentals.nl/swf/bentley.swf"><PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#333333><EMBED src="http://www.viprentals.nl/swf/bentley.swf" quality=high bgcolor=#333333  WIDTH="758" HEIGHT="160" NAME="other" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT></td>'); } else if (sektion=="vipcontact"){ document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="758" HEIGHT="160" id="other"><PARAM NAME=movie VALUE="http://www.viprentals.nl/swf/ferrari.swf"><PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#333333><EMBED src="http://www.viprentals.nl/swf/ferrari.swf" quality=high bgcolor=#333333  WIDTH="758" HEIGHT="160" NAME="other" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT></td>'); } else if (sektion=="nieuws"){ document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="758" HEIGHT="160" id="other"><PARAM NAME=movie VALUE="http://www.viprentals.nl/swf/astonmartin.swf"><PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#333333><EMBED src="http://www.viprentals.nl/swf/astonmartin.swf" quality=high bgcolor=#333333  WIDTH="758" HEIGHT="160" NAME="other" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT></td>'); } else if (sektion=="zakelijkvervoer"){ document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="758" HEIGHT="160" id="other"><PARAM NAME=movie VALUE="http://www.viprentals.nl/swf/bentley.swf"><PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#333333><EMBED src="http://www.viprentals.nl/swf/bentley.swf" quality=high bgcolor=#333333  WIDTH="758" HEIGHT="160" NAME="other" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT></td>'); } else if (sektion=="ferrari"){ document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="758" HEIGHT="160" id="other"><PARAM NAME=movie VALUE="http://www.viprentals.nl/swf/ferrari.swf"><PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#333333><EMBED src="http://www.viprentals.nl/swf/ferrari.swf" quality=high bgcolor=#333333  WIDTH="758" HEIGHT="160" NAME="other" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT></td>'); } else if (sektion=="vipvervoer"){ document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="758" HEIGHT="160" id="jaguar"><PARAM NAME=movie VALUE="http://www.viprentals.nl/swf/jaguar.swf"><PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#333333><EMBED src="http://www.viprentals.nl/swf/jaguar.swf" quality=high bgcolor=#333333  WIDTH="758" HEIGHT="160" NAME="jaguar" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT></td>'); } else if (sektion=="promotie"){ document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="758" HEIGHT="160" id="other"><PARAM NAME=movie VALUE="http://www.viprentals.nl/swf/lamborghini.swf"><PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#333333><EMBED src="http://www.viprentals.nl/swf/lamborghini.swf" quality=high bgcolor=#333333  WIDTH="758" HEIGHT="160" NAME="other" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT></td>'); } else if (sektion=="trouwauto"){ document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="758" HEIGHT="160" id="other"><PARAM NAME=movie VALUE="http://www.viprentals.nl/swf/rollsroyce.swf"><PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#333333><EMBED src="http://www.viprentals.nl/swf/rollsroyce.swf" quality=high bgcolor=#333333  WIDTH="758" HEIGHT="160" NAME="other" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT></td>'); }  else { document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="758" HEIGHT="160" id="other"><PARAM NAME=movie VALUE="http://www.viprentals.nl/swf/misc.swf"><PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#333333><EMBED src="http://www.viprentals.nl/swf/misc.swf" quality=high bgcolor=#333333  WIDTH="758" HEIGHT="160" NAME="other" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT></td>'); } document.write('<!-- END FLASH CONTENT -->');     document.write('</tr><tr><td bgcolor="#333333" width="758">');  document.write('<table width="758" border="0" cellspacing="0" cellpadding="0">');

document.write('<tr><td colspan="6" ><img src="http://www.viprentals.nl/images/vip-line.jpg" height="5" width="760" border="0" /></td></tr>');

document.write('<tr height="28"><td width="149" height="28" style="background-color:#333333"></td>');
document.write('<td rowspan="3" bgcolor="#666666" width="1"><img src="http://www.viprentals.nl/images/_spacer.gif" height="1" width="1" border="0"></td>'); document.write('<td width="458" height="28"><img src="http://www.viprentals.nl/images/vip-welcome.jpg" height="28" width="460" border="0"></td>'); 
document.write('<td rowspan="3" bgcolor="#666666" width="1"><img src="http://www.viprentals.nl/images/_spacer.gif" height="1" width="1" border="0"></td>'); document.write('<td width="149" height="28" style="background-color:#333333"></td></tr>');

 document.write('<tr><td valign="top" width="119" style="background-color:#333">');  document.write('<img src="http://www.viprentals.nl/images/logos-left.gif" height="350" width="149" usemap="#sc1dcc9" border="0"><br>'); 


 //document.write('<!-- START NEWSLETTER TABLE -->');  //document.write('<div align="center">'); 
//document.write('<table width="135" border="0" cellspacing="1" cellpadding="7" bgcolor="#666666">');
 //document.write('<tr><td bgcolor="black" class="text-newsletter" background="http://www.viprentals.nl/images/background/background3.gif">Subscribe to our <span class="text-newsletter-white">newsletter</span> to receive an update on our latest additions.<br>'); 
 //document.write('<form id="FormName" action="(EmptyReference!)" method="get" name="FormName">'); //document.write('<b>Your e-mail:</b><br>'); //document.write('<input type="text" name="textfieldName" size="15" class="field"><br>'); //document.write('<input type="image" src="http://www.viprentals.nl/images/button/b_submit.gif" alt="Click to subscribe to our newsletter" style="margin-top: 5px;">'); //document.write('</form>'); //document.write('</td></tr></table></div>');  //document.write('<!-- END NEWSLETTER TABLE -->'); 
 document.write('</td><td align="center" valign="top" bgcolor="black" width="458">'); 
