var _baseServerUrl = 'http://www.autotrader.ie';
var _regUrl = 'http://registration.autotrader.ie';
var _OlaUrl = 'http://sell.autotrader.ie';
var _searchServerUrl = 'http://search.autotrader.ie';
var T = 'target="_top"';
var S = '&nbsp;&nbsp;';
var _channelHtml;
var _menu1Html;
var _menu2Html;
var _menu3Html;
var _menu4Html;
var _menu5Html;

_channelHtml = '<table width="750" border="0" cellspacing="0" cellpadding="0" bgcolor="#000000"><tr>';
_channelHtml += '<td><img src="' + _baseServerUrl + '/images/common/masthead_bott_curve_2.gif" width="30" height="20"></td>';
_channelHtml += '<td><img src="' + _baseServerUrl + '/images/common/channels/channel.gif" width="97" height="20"></td>';
_channelHtml += '<td><a '+T+' href="' + _baseServerUrl + '/index.jsp"><a '+T+' href="' + _baseServerUrl + '/index.jsp"><img name="car" SRC="' + _baseServerUrl + '/images/common/channels/~car.gif" width="88" height="20" border="0"></a></td>';
_channelHtml += '<td><a '+T+' href="' + _baseServerUrl + '/BIKES/bikes.jsp"  onmouseover="hL(\'bike\',1);" onmouseout="hL(\'bike\',0);"><img name="bike" src="' + _baseServerUrl + '/images/common/channels/bike.gif" width="87" height="20" border="0"></a></td>';
_channelHtml += '<td><a '+T+' href="' + _baseServerUrl + '/COMMS/comms.jsp" onmouseover="hL(\'commercials\',1);" onmouseout="hL(\'commercials\',0);"><img name="commercials" src="' + _baseServerUrl + '/images/common/channels/commercials.gif" width="107" height="20" border="0"></a></td>';
_channelHtml += '<td><a '+T+' href="' + _baseServerUrl + '/PLANT/plant.jsp" onmouseover="hL(\'plant\',1);" onmouseout="hL(\'plant\',0);"><img name="plant" src="' + _baseServerUrl + '/images/common/channels/plant.gif" width="84" height="20" border="0"></a></td>';
_channelHtml += '<td><a '+T+' href="' + _baseServerUrl + '/LEISURE/leisure.jsp" onmouseover="hL(\'caravan\',1);" onmouseout="hL(\'caravan\',0);"><img name="caravan" src="' + _baseServerUrl + '/images/common/channels/caravan.gif" width="107" height="20" border="0"></a></td>';
_channelHtml += '<td><a href="http://www.boats-for-sale.com/" onmouseover="hL(\'boat2\',1);" onmouseout="hL(\'boat2\',0);" target="boats" name="&amp;lid=Boat+Channel"><img name="boat2" src="' + _baseServerUrl + '/images/common/channels/boat2.gif" width="106" height="20" border="0"></a></td>';
_channelHtml += '</tr></table>';

// Norton Ad Blocker hAx0r - 20/06/06 - tom taylor ;)

if (document.getElementById) {

	_menu1Html = '<div id="m1" style=" width : 142px; position: absolute; z-index: 1; top: 117px; left: 30px; visibility: hidden;" onmouseover="sh_HD(\'m1\',1)" onmouseout="sh_HD(\'m1\',0)">';
	_menu1Html += '<table width="142" border="0" cellspacing="0" cellpadding="0" class="MnuTbl">';
	_menu1Html += '<tr><td height="2" class="ofM1"><img src="' + _baseServerUrl + '/images/common/spacer.gif" width="20" height="2"></td>';
	_menu1Html += '</tr><tr><td class="ofM1" onmouseover="onof(this,\'1\',1);" onmouseout="onof(this,\'1\',0);" onclick="go(\'' + _searchServerUrl + '/www/cars_search?dosearch=N\');"><a '+T+' href="' + _searchServerUrl + '/www/cars_search?dosearch=N" class="ofM">'+S+'Full Search</a></td>';
	_menu1Html += '</tr><tr><td class="ofM1" onmouseover="onof(this,\'1\',1);" onmouseout="onof(this,\'1\',0);" onclick="go(\'' + _baseServerUrl + '/common/buying/buying.jsp\');"><a '+T+' href="' + _baseServerUrl + '/common/buying/buying.jsp" class="ofM">'+S+'Buying A'+'dvice</a></td>';
	_menu1Html += '</tr><tr><td class="ofM1" onmouseover="onof(this,\'1\',1);" onmouseout="onof(this,\'1\',0);" onclick="go(\'' + _baseServerUrl + '/common/dealer_directory/\');"><a '+T+' href="' + _baseServerUrl + '/common/dealer_directory/" class="ofM">'+S+'Dealer Directory</a></td>';
	_menu1Html += '</tr></table></div>';

	_menu2Html = '<div id="m2" style=" width : 142px; position : absolute; top : 117px; left : 174px; visibility : hidden; z-index : 1;" onmouseover="sh_HD(\'m2\',1)" onmouseout="sh_HD(\'m2\',0)">';
	_menu2Html += '<table width="142 " border="0" cellspacing="0" cellpadding="0" class="MnuTbl">';
	_menu2Html += '<tr><td height="2"><img src="' + _baseServerUrl + '/images/common/spacer.gif" width="20" height="2"></td>';
	_menu2Html += '</tr><tr><td class="ofM1" onmouseover="onof(this,\'1\',1);" onmouseout="onof(this,\'1\',0);" onclick="go(\'' + _baseServerUrl + '/common/a'+'d'+'vertise/place-an-a'+'d'+'.jsp\');"><a '+T+' href="' + _baseServerUrl + '/common/a'+'d'+'vertise/place-an-a'+'d'+'.jsp" class="ofM">'+S+'Place Private A'+'d</a></td>';
	_menu2Html += '</tr><tr><td class="ofM1" onmouseover="onof(this,\'1\',1);" onmouseout="onof(this,\'1\',0);" onclick="go(\'' + _baseServerUrl + '/CARS/sell/place-an-a'+'d'+'-trade\');"><a '+T+' href="' + _baseServerUrl + '/CARS/sell/place-an-a'+'d'+'-trade.jsp" class="ofM">'+S+'Trade A'+'d'+'verti'+'sing</a></td>';
	_menu2Html += '</tr><tr><td class="ofM1" onmouseover="onof(this,\'1\',1);" onmouseout="onof(this,\'1\',0);" onclick="go(\'' + _baseServerUrl + '/common/selling/selling.jsp\');"><a '+T+' href="' + _baseServerUrl + '/common/selling/selling.jsp" class="ofM">'+S+'Selling Your Vehicle</a></td>';
	_menu2Html += '</tr><tr><td class="ofM1" onmouseover="onof(this,\'1\',1);" onmouseout="onof(this,\'1\',0);" onclick="javascript:viewWhatsWorth();"><a '+T+' href="javascript:viewWhatsWorth();" class="ofM">'+S+'What\'s it Worth?</a></td>';	
	_menu2Html += '</tr><tr><td class="ofM1" height="2"><img src="' + _baseServerUrl + '/images/common/spacer.gif" width="20" height="2"></td>';
	_menu2Html += '</tr></table></div>';

	_menu3Html = '<div id="m3" style=" width : 142px; position : absolute; top : 117px; left : 318px; visibility : hidden; z-index : 1;" onmouseover="sh_HD(\'m3\',1)" onmouseout="sh_HD(\'m3\',0)">';
	_menu3Html += '<table width="142" border="0" cellspacing="0" cellpadding="0" class="MnuTbl">';
	_menu3Html += '<tr><td height="2"><img src="' + _baseServerUrl + '/images/common/spacer.gif" width="20" height="2"></td>';
	_menu3Html += '</tr><tr><td class="ofM1" onmouseover="onof(this,\'1\',1);" onmouseout="onof(this,\'1\',0);" onclick="go(\'' + _baseServerUrl + '/CARS/services/finance-centre.jsp\');"><a '+T+' href="' + _baseServerUrl + '/CARS/services/finance-centre.jsp" class="ofM">'+S+'Finance</a></td>';
	_menu3Html += '</tr><tr><td class="ofM1" onmouseover="onof(this,\'1\',1);" onmouseout="onof(this,\'1\',0);" onclick="go(\'' + _baseServerUrl + '/CARS/services/insurance-centre.jsp\');"><a '+T+' href="' + _baseServerUrl + '/CARS/services/insurance-centre.jsp" class="ofM">'+S+'Insurance</a></td>';
	_menu3Html += '</tr><tr><td class="ofM1" onmouseover="onof(this,\'1\',1);" onmouseout="onof(this,\'1\',0);" onclick="go(\'' + _baseServerUrl + '/CARS/services/parts-centre.jsp\');"><a '+T+' href="' + _baseServerUrl + '/CARS/services/parts-centre.jsp" class="ofM">'+S+'Parts and Accessories</a></td>';
	_menu3Html += '</tr></table></div>';

	_menu5Html = '<div id="m5" style=" width : 142px; position : absolute; top : 117px; left : 606px; visibility : hidden; z-index : 1;" onmouseover="sh_HD(\'m5\',1)" onmouseout="sh_HD(\'m5\',0)">';
	_menu5Html += '<table width="142" border="0" cellspacing="0" cellpadding="0" class="MnuTbl">';
	_menu5Html += '<tr><td height="2"><img src="' + _baseServerUrl + '/images/common/spacer.gif" width="20" height="2"></td>';
	_menu5Html += '</tr><tr><td class="ofM1" onmouseover="onof(this,\'1\',1);" onmouseout="onof(this,\'1\',0);" onclick="go(\'' + _regUrl + '/login/ie/TWWW?su=1\');"><a '+T+' href="' + _regUrl + '/login/ie/TWWW?su=1" class="ofM">'+S+'Log In</a></td>';
	_menu5Html += '</tr><tr><td class="ofM1" onmouseover="onof(this,\'1\',1);" onmouseout="onof(this,\'1\',0);" onclick="go(\''+ _regUrl +'/logout/ie/TWWW?su=1\');"><a href="' + _regUrl + '/logout/ie/TWWW?su=1" class="ofM"> &nbsp; Log Out</a></td>';
	_menu5Html += '</tr><tr><td class="ofM1" onmouseover="onof(this,\'1\',1);" onmouseout="onof(this,\'1\',0);" onclick="go(\''+ _OlaUrl +'/ie-commerce/ViewOrder.do\');"><a href="'+ _OlaUrl +'/ie-commerce/ViewOrder.do" class="ofM"> &nbsp; View Shopping Cart</a></td>';
	_menu5Html += '</tr><tr><td class="ofM1" onmouseover="onof(this,\'1\',1);" onmouseout="onof(this,\'1\',0);" onclick="go(\''+ _regUrl +'/mailme/ie/WWW2?e=&cp='+_baseServerUrl+'/index.jsp&action=\');"><a href="'+ _regUrl +'/mailme/ie/TWWW?e=&cp='+_baseServerUrl+'/" class="ofM"> &nbsp; Forgotten Password</a></td>';
	_menu5Html += '</tr><tr><td class="ofM1" onmouseover="onof(this,\'1\',1);" onmouseout="onof(this,\'1\',0);" onclick="go(\'' + _regUrl + '/login/ie/TWWW\');"><a '+T+' href="'+ _regUrl +'/login/ie/TWWW?action=amend&error=3&cp='+_baseServerUrl+'" class="ofM">'+S+'Update Details</a></td>';
	_menu5Html += '</tr><tr><td class="ofM1" onmouseover="onof(this,\'1\',1);" onmouseout="onof(this,\'1\',0);" onclick="go(\'' + _regUrl + '/reg/ie/TWWW\');"><a '+T+' href="' + _regUrl + '/reg/ie/TWWW" class="ofM">'+S+'Register Now</a></td>';
	_menu5Html += '</tr><tr><td class="ofM1" onmouseover="onof(this,\'1\',1);" onmouseout="onof(this,\'1\',0);" onclick="go(\'' + _baseServerUrl + '/common/contact/contact.jsp\');"><a '+T+' href="' + _baseServerUrl + '/common/contact/contact.jsp" class="ofM">'+S+'Contact Us</a></td>';
	_menu5Html += '</tr><tr><td class="ofM1" onmouseover="onof(this,\'1\',1);" onmouseout="onof(this,\'1\',0);" onclick="go(\'' + _baseServerUrl + '/common/faq/faq.jsp\');"><a '+T+' href="' + _baseServerUrl + '/common/faq/faq.jsp" class="ofM">'+S+'FAQ</a></td>';
	_menu5Html += '</tr></table></div>';

	document.write(_menu1Html);
	document.write(_menu2Html);
	document.write(_menu3Html);
	document.write(_menu5Html);

}
document.write(_channelHtml);
document.write('<table border="0" cellpadding="0" cellspacing="0" width="751" height="19"><tr><td height="19"><img src="' + _baseServerUrl + '/images/common/red_nav_curve.gif" width="30" height="19"><a '+T+' href="' + _baseServerUrl + '/CARS/buy/buy.jsp" onmouseover="sh_HD(\'m1\',1);"><img src="' + _baseServerUrl + '/images/common/menus/buy.gif" width="144" height="19" border="0" name="buy" alt="BUY"></a><a '+T+' href="' + _baseServerUrl + '/CARS/sell/sell.jsp" onmouseover="sh_HD(\'m2\',1);"><img src="' + _baseServerUrl + '/images/common/menus/sell.gif" width="144" height="19" border="0" name="sell" alt="SELL"></a><a '+T+' href="' + _baseServerUrl + '/CARS/services/services.jsp" onmouseover="sh_HD(\'m3\',1);"><img src="' + _baseServerUrl + '/images/common/menus/srv.gif" width="144" height="19" border="0" name="SERVICES" alt=""></a><a '+T+' href="' + _baseServerUrl + '/CARS/news/news.jsp"><img src="' + _baseServerUrl + '/images/common/menus/news.gif" width="144" height="19" border="0" name="NEWS/REVIEWS" alt=""></A><a '+T+' href="#" onmouseover="sh_HD(\'m5\',1);"><img src="' + _baseServerUrl + '/images/common/menus/my_02.gif" width="144" height="19" border="0" name="my Trader" alt=""></A></td></tr></table>');
