// JavaScript Document

if (navigator.appVersion.indexOf('MSIE') != -1){
	//ie 6 7 8
	document.write('<style>')
	document.write('#tblWide{width:200px;} ');
	document.write('#mainAd{margin-top:12px;}');
	document.write('</style>');
	
}else{//firefox mozilla browsers
	document.write('<style>')
	document.write('#mainAd{margin-top:0px;}');
	document.write('.navbox{padding-top:17px;}');
	document.write('.wHeadText{padding-bottom:12px;}');
	document.write(' #tblWide{width:200px;} ');
	document.write('</style>');
}
if (navigator.appVersion.indexOf('MSIE 6.0') != -1){
	//ie 6 only
	document.write('<style>');
	document.write(' .hmFixCtr #container{width:1000px;} ');
    document.write(' #tblWide{width:100%;} ');
	document.write(' .pageMain{width:667px;padding:0px;} ');
	document.write(' .FixCtr #container{ width:905px;} ');
	
    document.write('</style>');
}

//for offer boxes on vertical pages
function hiLite(number){
	
	var tDiv=document.getElementById('offerSection');
	var ArrLi=tDiv.getElementsByTagName( "td" );
	
   for (var i = 0; i < ArrLi.length; i++)
	ArrLi[number].className='adSpace2'
		if (ArrLi[number].className='adSpace'){
		ArrLi[number].className='adSpace2';
		
		}
		else{
			ArrLi[number].className='adSpace';
	}
	
}
function hiLiteOff(number){
	var tDiv=document.getElementById('offerSection');
	var ArrLi=tDiv.getElementsByTagName( "td" );
   for (var i = 0; i < ArrLi.length; i++)
	ArrLi[number].className='adSpace2'
		if (ArrLi[number].className='adSpace'){
		ArrLi[number].className='adSpace';
		
		}
		else{
			ArrLi[number].className='adSpace';
	}
	
}
    
	