var strOldLayer = 'under65';
var domain = 'travelinsurance-uk';
var phoneNum = '0844<span>&nbsp;</span>277 7333';
var imgPath='../img/';
function completed(){

document.write(' ');
}


function showName(){
	document.write('travelinsurance-uk.org');
}

function showAddress(){
	document.write('travelinsurance-uk.org (a registered trading style of Staysure.co.uk Limited)');
}
function showInfoEmail(){
	document.write('<a href="mailto:info@travelinsurance-uk.org" class="udrline">info@travelinsurance-uk.org</a>');
}
function showClaimsEmail(){
	document.write('<a href="mailto:claims@travelinsurance-uk.org" class="udrline">claims@travelinsurance-uk.org</a>');
}
function closeCal(){
	document.getElementById('calDiv').style.display='none';
	document.getElementById('calParentDiv').style.display='none';
}
function primaryClick(objTD, blnNewWindow) {

	if (blnNewWindow == true) {
		window.open(objTD.children[0].href, "newWindow");
	} else {
		window.location = objTD.children[0].href;
	}

}
function  changeBg(objTD,useImage) {
	if (useImage==null)	objTD.style.backgroundImage = "url('"+imgPath+"btnbk2.gif')";
	else if (useImage=='no') objTD.style.backgroundImage = "url(null)";
	else objTD.style.backgroundImage = "url('"+imgPath+useImage+"')";
}
function findPos(obj) {
	var curleft = curtop = 0;
	if (obj.offsetParent) {
		curleft = obj.offsetLeft
		curtop = obj.offsetTop
		while (obj = obj.offsetParent) {
			curleft += obj.offsetLeft
			curtop += obj.offsetTop
		}
	}
	return [curleft,curtop];
}

function showCal(type){
	if (type=='depart_'){
		document.getElementById('calTitle').innerHTML = 'Departure Date';
		dateCalendar.openDateChooser(type);
	}
	if (type == 'return_'){
		document.getElementById('calTitle').innerHTML = 'Return Date';
		dateCalendar.openDateChooser(type);
	}
	document.getElementById('calDiv').style.display = '';
	document.getElementById('calParentDiv').style.display = '';
}

function bookMark() { 
	title = "Travel Insurance Provider  - travelinsurance-uk.org"; 
	url = "http://www.travelinsurance-uk.org/"; 
	if (window.sidebar) { 
	// Mozilla Firefox Bookmark 
	window.sidebar.addPanel(title, url,""); 
	} else if( window.external ) { 
	// IE Favorite 
	window.external.AddFavorite( url, title); 
	} 
	else if(window.opera && window.print) { 
	// Opera Hotlist 
	return true; } 
}



function isAffiliateSet(){	
	var stylrString1 = " style='display:true' ";
	var stylrString2 = " style='display:none' ";
	try{
		var affiliate = document.getElementById('affiliate').value;
		if (affiliate != 'none') return stylrString2;	
	}
	catch(e){
	}
	return stylrString1;
}
		
function switchTabs(strLayerID) {
	hideLayer('lyr' + strOldLayer);
	showLayer('lyr' + strLayerID);			
	changeBGColor('tab' + strOldLayer, '#006699');
	changeBGColor('tab' + strLayerID, '#2B1B62');						
	strOldLayer = strLayerID;
}


function hideLayer(strLayerName) {
	objLayer = document.getElementById(strLayerName);	
	objLayer.style.visibility = 'hidden';
	objLayer.style.display = 'none';
}

function showLayer(strLayerName) {
	var objLayer = document.getElementById(strLayerName);	
	objLayer.style.visibility = 'visible';
	objLayer.style.display = 'block';		
}

function changeBGColor(strLayerName, strColor) {
	var objLayer = document.getElementById(strLayerName);
	objLayer.style.backgroundColor = strColor;
}


function intertrav() {
	try{
		parent.frames[0].document.userData.user_id.value;
		alert('You are already logged in');
	}
	catch(e){
  		var url = 'https://www.travelinsurance-uk.org/admin/index.html';
  		w = screen.availWidth-10;
  		h = screen.availHeight-50;
  		features = "width="+w+",height="+h;
  		features += ",left=0,top=0,scrollbars=1,resizable=1,status=0";

  		window.open(url, "", features);
	}
}

function mivaSearch(){
	var queryStr = document.getElementById('miva').value;
	//alert(queryStr);
	window.location = 'mivaSearch?query='+queryStr;
	//document.open('mivaSearch?'+queryStr);
}

function changePolicyWording(){
	document.getElementById('polword').href='Backpacker_Policy_Wording.pdf';
	document.getElementById('summary').href='keyfacts_young_traveler.pdf';
	//alert(type);	
}

function getRingText(ringTextId){
	var html ="";
	html +=    '  					<div style="position:relative; width :381px;height:98px;text-align:left;top:0px;left:0px;margin-bottom:-98px;">'
	html +=    '  							<div class="time" style="top:13px;padding-left:30px;">&nbsp</div>'
	html +=    '  							<div class="ringText2" style="top: 0px;	padding-left:10px;">Annual</div>'
	html +=    '							<div class="time" style="top:-5px;padding-left:28px;letter-spacing:-1px;color:#8E7B49;font-weight:bold;font-size:14px;">cover</div>'
	html +=    '							<div class="time" 	style="top:-8px;padding-left:15px;font-size:60%;color:#8E7B49;">from</div><div class="time" 	style="top:-22px;text-align:left;padding-left:60px;font-size:60%;color:#8E7B49;">under</div>'
	html +=    '							<div class="ringText2" style="top:-31px;padding-left:33px;color:#8E7B49;">20</div>'
	html +=    '							<div class="time" style="top:-51px; padding-left:26px;font-weight:bold;color:#8E7B49;">&pound;</div><div class="time" style="top:-64px; text-align:left;padding-left:58px;color:#8E7B49;">.00</div>'
	html +=    '  					</div>'
	return html;
}


function showHeader(ringImg,coukImg,ringTextId,logoText){
	var html = '<div id="header" style="position:relative;height:99px;">  \
				  <div style="width: 953px; height: 99px; margin-left: auto; margin-right: auto"> \
					<div style="float: left; background-image: url(img/header1.jpg); width:833px; height:99px;"></div> \
					<div style="width: 120px;height:99px;float:left"> \
						<img style="float: left;" alt="" src="img/header2a.jpg"/> \
						<a style="float: right; cursor: hand;" href="javascript:bookMark();"> \
							<img style="border: 0px none; outline:0px none;" alt="Bookmark us" src="img/header2b.jpg"/> \
						</a> \
					</div> \
				  </div> \
				</div>';
	document.write(html);	
}


function showMenu() {
var html='<table id=Table_02 cellSpacing=0 cellPadding=0 width=953 border=0 class="foxcent" >'
html+='<tbody>'
html+='	<tr>'
html+='		<td><img id="spacer1" height=5 alt="" src="'+imgPath+'trnsp.gif" width=953></td>'
html+='	</tr>'
html+=' <tr>'
html+='	  	<td style="background-image:url(\''+imgPath+'menubkB.gif\')">'
html+='	  	  				<table class=\'primary2\' width=\'953\' height=\'20\' border=\'0\' cellspacing=\'0\' cellpadding=\'0\' >' 
html+=' 						<tr >'
html+=' 							<td onmouseover=\'changeBg(this);\'onmouseout=\'changeBg(this,"no");\' style="width: 120px;"><a href=\'index.php\'>home</a></td> <td>|'
html+='<div id=\'sumdd\' onmouseout="hideMenu(\'sumdd\')" onmouseover="dispMenu(\'sumdd\')" style=\'background:#C6C6C6; position:absolute; top:-2px; width:150px; z-index:99999999;display:none;\' class=\'primary2\'><a href=\'../documents/keyfacts_basic.pdf\'  target=\'_BLANK\' style=\'line-height:15px;\'>BASICS</a><br><a href=\'keyfacts_all.pdf\'  target=\'_BLANK\' style=\'line-height:15px;\'>COMPREHENSIVE</a><br><a href=\'keyfacts_young_traveler.pdf\'  target=\'_BLANK\' style=\'line-height:15px;\'>BACKPACKER</a></div></td>' 							
html+=' 							<td onmouseout="hideMenu(\'sumdd\',this)" onmouseover="dispMenu(\'sumdd\',this)" style="width: 120px;"><a id=\'summary\' href=\'#\'>summary</a></td> <td>|'
html+='<div id=\'poldd\' onmouseout="hideMenu(\'poldd\')" onmouseover="dispMenu(\'poldd\')" style=\'background:#C6C6C6; position:absolute; top:-31px; width:150px; z-index:99999999;display:none;\' class=\'primary2\'><a href=\'../documents/Policy_Wording_Basic.pdf\'  target=\'_BLANK\' style=\'line-height:15px;\'>BASICS</a><br><a href=\'Staysure_Policy_Wording.pdf\'  target=\'_BLANK\' style=\'line-height:15px;\'>COMPREHENSIVE</a><br><a href=\'Backpacker_Policy_Wording.pdf\'  target=\'_BLANK\' style=\'line-height:15px;\'>BACKPACKER</a></div></td>'
html+=' 							<td onmouseout="hideMenu(\'poldd\',this)" onmouseover="dispMenu(\'poldd\',this)" style="width: 120px;" style="width: 120px;"><a id=\'polword\' name = \'polword\' href=\'#\'>policy wording</a></td> <td>|</td>'
html+='								<td onmouseover=\'changeBg(this);\'onmouseout=\'changeBg(this,"no");\' style="width: 120px;"><a href=\'claims.html\'>claims</a></td> <td>|</td>'
html+='								<td onmouseover=\'changeBg(this);\'onmouseout=\'changeBg(this,"no");\' style="width: 120px;"><a href=\'statusdisclosure.html\'>about us</a></td> <td>|</td>'
//html+='								<td onmouseover=\'changeBg(this);\'onmouseout=\'changeBg(this,"no");\' style="width: 100px;"><a href=\'products.html\'>affiliates</a></td> <td>|</td>'
//html+=' 							<td onmouseover=\'changeBg(this);\'onmouseout=\'changeBg(this,"no");\' style="width: 100px;"><a href=\'http://www.cheap-travelinsurance.org/media-centre/\'>media centre</a></td> <td>|</td>'
html+='								<td style="width: 100px;">&nbsp;</td>'
html+='								<td onmouseover=\'changeBg(this);\' onmouseout=\'changeBg(this,"no");\' style="width: 120px;"><a href=\'javascript:intertrav()\'>login</a></td>'
html+='							</tr>'
html+=' 					</table>'
html+='  	</td>'
html+='  </tr>'
html+='  <tr>'
html+='  	<td><img height=1 alt="" src="'+imgPath+'trnsp.gif" width=953></td>'
html+='  </tr>'
html+='</tbody>'
html+='</table>'



document.write(html);	
}

function showRings(){
document.write('&nbsp;');
}

function showSteps(img){

	var html ='<div   style="position:relative; top:-12px;left: -2px; width: 190px;height:22px;background-image:url(\''+imgPath+'ygrad.gif\');background-position:right;font-size:14px;font-weight:600;color:#ffffff;padding-top:5px;padding-left:6px;letter-spacing:-1px;" >online in 3 simple steps</div>'
	html    +='<div   style="position:relative; top:-43px;left: 157px; width: 99px;height:34px;" ><img alt="" src="'+img+'" width="99" height="34"></div>'
	html    +='<div   style="position:relative; top:-77px;left: 257px; width: 47px;height:34px;margin-bottom:-90px;" ><img alt="" src="'+imgPath+'bp.gif" width="47" height="34"></div>'

	document.write(html);

}

	
function showComp(){
	document.write('&nbsp;');
}


function showSmith(){
document.write('&nbsp;');
}

//kisha on 2008/12/18
//this is what shows when keyfacts icon is pressed
var KEY_FCT 	="Please select <br> <a href=javascript:void(window.open(\'../documents/keyfacts_basic.pdf\',\'\',\'toolbar=no,width=660,height=700\'))>BASIC<\/a> <br>  <a href=javascript:void(window.open(\'keyfacts_all.pdf\',\'\',\'toolbar=no,width=660,height=700\'))>COMPREHENSIVE<\/a> <br>  <a href=javascript:void(window.open(\'keyfacts_young_traveler.pdf\',\'\',\'toolbar=no,width=660,height=700\'))>BACKPACKER<\/a>";


function showWhy(){
	
	var test = isAffiliateSet();
	if (test == " style='display:none' ") if (check!='donothide') return;

	var keyFactsFileName = 'keyfacts_all.pdf';
	
	var onclk = 'showHelp(this, event, KEY_FCT) ; return false';
	var keyFactsFileName = '#';

html = '<table  cellSpacing=0 cellPadding=0 width=100% border=0>'
html+='		<tr class="qRow1">'
html+='			<td class="whysts" height="36" style="margin-right:20px;">why choose us</td>'
html+='		</tr>'
html+='		<tr class="bglight">'
html+='			<td class="formT2"  style="padding-left:20px;padding-top:8px;text-align:left; color:#493768;line-height:15px;">'
html+='				&#8226;&nbsp;Excellent value for money<br>'
html+='				&#8226;&nbsp;Instant cover in 3 simple steps<br>'
html+='				&#8226;&nbsp;Most medical conditions covered<br>'
html+='				&#8226;&nbsp;Outstanding customer service<br>'
html+='				&#8226;&nbsp;No medical excess with EHIC card<br>'
html+='				&#8226;&nbsp;FSA authorised<br>'
html+='				&#8226;&nbsp;24 hour emergency helpline<br>'
html+='				&#8226;&nbsp;Efficient claims service<br>'
html+='				&#8226;&nbsp;14 - day refund policy<br>'
html+='				&#8226;&nbsp;ABTA Travel Industry Partner<br>'
html+='				&#8226;&nbsp;Choice of upgrades available<br>'
html+='			</td>'
html+='		</tr>'
html+='		<tr>'
html+='			<td valign="top" class="bglight">'
html+='				<table  cellSpacing=0 cellPadding=0 width=247 border=0  style="text-align:center;" >'
html+='					<tr style="padding-top:8px;">'
html+='						<td colspan=\'5\'><a href=\''+keyFactsFileName+'\' onClick=\''+onclk+'\'><img width=\'101\' height=\'44\'  alt=\'Key facts\' src=\''+imgPath+'kf.gif\' border=\'0\'></a></td>'
html+='					</tr>'
html+='					<tr style="padding-bottom:8px;">'
html+='						<td width="10" height="68" >&nbsp;</td>'
html+='						<td ><img width=\'80\' height=\'47\'    src=\''+imgPath+'abtab.gif\'></td>'
html+='						<td >&nbsp;</td>'
html+='						<td  align=\'center\'  height="66"> <!--<iframe src="twt.html" frameborder="0" scrolling="no" width="61" height="60"></iframe>--> <img src="'+imgPath+'rapidssl_ssl_certificate.gif" alt="" /></td>'
html+='					    <td width="10">&nbsp;</td>'
html+='					</tr>'												
html+='				</table>'				
html+='			</td>'
html+='		</tr>'
html+='	</table>'
document.write(html);
}
function showWhatClientsSay(){
document.write('');
}

function showMedicalConditions(){
var html='<table  cellSpacing=0 cellPadding=0 width=100% border=0 class="bglight">'
html+='<tr class="qRow1">'
html+='		<td class="whysts" height="36" style="margin-right:20px;letter-spacing:1px;">medical conditions</td>'
html+='</tr>'
html+='<tr>'
html+='		<td  class="formT2" style="padding-left:20px;padding-top:8px;padding-bottom:8px;padding-right:20px;color:#493768;text-align:left;" >This needn\'t be a concern with your<br> travelinsurance-uk.org booking. In step 2 we spell out exactly what we cover together with any restrictions. </td>'
html+='</tr>'
html+='</table>'

document.write(html);
}

function showBlog(){
var html='<table  cellSpacing=0 cellPadding=0 width=100% border=0  class="bglight">'
html+='										<tr class="qRow1">'
html+='											<td class="whysts" height="36" style="margin-right:20px;">blog update<a href=\'http://www.travelinsurance-uk.org/media-centre/?feed=rss2\' title=\'Travel Insurance Blog\'><img src="'+imgPath+'rss.gif" width="30" height="30" border="0" alt="RSS feed" style="position:relative;right:-64px;top:3px;"></a></td>'
html+='										</tr>'
html+='										<tr>'
html+='											<td  class="formT2" style="padding-left:20px;padding-top:8px;padding-bottom:8px;padding-right:20px; color:#493768;text-align:left;" >'
html+='													latest topics<br>'
html+='													<div class="blogDiv" style="line-height:20px">'
html+='													<a  href="http://www.travelinsurance-uk.org/media-centre/?p=35">airport security - avoid terminal chaos</a><br>'
html+='													<a  href="http://www.travelinsurance-uk.org/media-centre/?p=16">travel insurance - buying through an agent</a><br>'
html+='													<a  href="http://www.travelinsurance-uk.org/media-centre/?p=19 ">EHIC - what are the benefits?</a><br>'
html+='													</div>'

html+='											</td>'
html+='										</tr>'
html+='									</table>'
document.write('&nbsp;');
}

function showFooterIcons(){
var html ='<div id="foterIcons" class="middleClass" style="height:74px;">'
html+='	<table  class="foxcent" cellSpacing=0 cellPadding=0 width=953 border=0>'
html+='		<tr>'
html+='			<td style="text-align:center;">'
html+='				<img src="img/thawte-f.gif"/>'
html+='				<img src="img/towergate.gif"/>'
html+='				<img src="img/mondial.gif"/>'
html+='				<img src="img/travel-i-p.gif"/>'
//html+='				<img src="img/elvia.gif"/>			'
html+='			</td>'
html+='		</tr>'
html+='	</table>'
html+='</div>'

document.write(html);

}
function showFooterLinks(){
	var html='	<div id="footerLinks"class="middleClass" style="height:35px;">'
	html+='	<a title="single trip travel insurance UK" href="index.php">single trip travel insurance UK</a> |'
	html+='	<a title="over 65 travel insurance" href="over65.php">over 65 travel insurance</a> |'
	html+='	<a title="long stay" href="longstay.php">long stay</a> |'
	html+='	<a title="winter sports" href="wintersports.php">winter sports</a> |'
	//html+='	<a title="back packer travel insurance" href="backpacker.php">back packer travel insurance</a> |'
	html+='	<a title="travel insurance claims" href="claims.html">travel insurance claims</a> |'
	html+='	<a title="about travelinsurance-uk.org" href="statusdisclosure.html">about travelinsurance-uk</a> |'
	html+='	<a title="privacy policy" href="privacypolicy.html">privacy policy</a> |'
	html+='	<a title="contact us" href="contactus.html">contact us</a> |'
	html+='	<a title="travel resources" href="resources.html">travel resources</a> |'
	html+='	<a title="sitemap" href="sitemap.html">sitemap</a> |'
	html+='	<a title="online travel insurance" href="index.php">online travel insurance</a>'
	html+='</div>'
	document.write(html);

}

function showFooter(){
	var html =' <div class="middleClass" style="height:44px;">'
	html+='	<div id="fsaIntervestText" class="foxcent" style="position:relative;height:44px;width:953px;">'
	html+='		<table class="foxcent" cellSpacing=0 cellPadding=0 width=953 border=0>'
	html+='			<tr><td style="height: 7px"><img alt="" src="'+imgPath+'ygrad.gif" width=953 height="3"></td></tr>'
	html+='			<tr align="left"><td><span  style="font-size:70%;font-weight:bold;text-align:left;">travelinsurance-uk.org is a recognised trading style of staysure.co.uk limited, who is authorised and regulated by the Financial Services Authority<br>(FSA registration number 436804).</span></td></tr>'
	html+='			<tr><td><img alt="" src="'+imgPath+'ygrad.gif" width=953 height="3"></td></tr>'
	html+='			<tr><td><img alt="" src="'+imgPath+'trnsp.gif" width=953 height="3"></td></tr>'
	html+='			<tr><td style="	font-size: 10px;	text-align: left;	font-family: Arial, Helvetica, sans-serif;	color: #808080;	vertical-align: middle;">Powered by Intervest. Global solutions for the travel market</td></tr>'
	html+='		</table>'
	html+='	</div>'
	html+='</div>'

	document.write(html);
}




function showAdvertisement(width,height,id){
	
	var src = '../ads/ad'+id+'.html';
	
	html="<iframe src='"+src+"' frameborder='0' scrolling='no' width='"+width+"' height='"+height+"' "+isAffiliateSet()+"></iframe>";
	document.write(html);				
}


function showNavi(index,withBackPacker){
var backpacker = true;
if 	(withBackPacker=='yes') backpacker = true; 
	var class1 = '  ';
	var class2 = '  ';
	var class3 = '  ';
	var class4 = '  ';
	
	
	if (index == 1){
		 class1 = ' class="navi1" ' 
		 class2 = ' class="navi2" onmouseover="changeBg(this,\'btnbk2.gif\');" onmouseout="changeBg(this,\'no\');" '; 
		 class3 = ' class="navi2" onmouseover="changeBg(this,\'btnbk2.gif\');" onmouseout="changeBg(this,\'no\');" '; 
		 class4 = ' class="navi2" onmouseover="changeBg(this,\'btnbk2.gif\');" onmouseout="changeBg(this,\'no\');" ' ;
	}
	else if (index == 2) {
		 class1 = ' class="navi2" onmouseover="changeBg(this,\'btnbk2.gif\');" onmouseout="changeBg(this,\'no\');" ' ;
		 class2 = ' class="navi1"  ' ;
		 class3 = ' class="navi2" onmouseover="changeBg(this,\'btnbk2.gif\');" onmouseout="changeBg(this,\'no\');" ';
		 class4 = ' class="navi2" onmouseover="changeBg(this,\'btnbk2.gif\');" onmouseout="changeBg(this,\'no\');" ' ;
	}
	else if (index == 3) {
		 class1 = ' class="navi2" onmouseover="changeBg(this,\'btnbk2.gif\');" onmouseout="changeBg(this,\'no\');" ' ;
		 class2 = ' class="navi2" onmouseover="changeBg(this,\'btnbk2.gif\');" onmouseout="changeBg(this,\'no\');" ' ;
		 class3 = ' class="navi1"  ' ;
		 class4 = ' class="navi2" onmouseover="changeBg(this,\'btnbk2.gif\');" onmouseout="changeBg(this,\'no\');" ';
	}
	else if (index == 4) {
		 class1 = ' class="navi2" onmouseover= "changeBg(this,\'btnbk2.gif\');" onmouseout="changeBg(this,\'no\');" ' ;
		 class2 = ' class="navi2" onmouseover= "changeBg(this,\'btnbk2.gif\');" onmouseout="changeBg(this,\'no\');" ' ;
		 class3 = ' class="navi2" onmouseover= "changeBg(this,\'btnbk2.gif\');" onmouseout="changeBg(this,\'no\');" ' ;
		 class4 = ' class="navi1"  ' ;
	}
	

var html='<table cellspacing=0 cellpadding=0 border=0 style="margin-left:auto;margin-right:auto;">'
var width='140';
if (backpacker) width='122'; 

	html+='<tr>'
	html+='	<td '+class1+' width="'+width+'" ><a href="index.php">single trip <span style="font-size:75%;font-weight:lighter">up to 100 days</span><br>or annual multi trip</a></td>'
	html+='	<td><img alt="" src="'+imgPath+'trnsp.gif" width="3" height="31" border="0" ></td>'
	html+='	<td  '+class2+' width="'+width+'"><a  href="longstay.php">long stay<br>(3-18 months)</a></td>'
	html+='	<td><img alt="" src="'+imgPath+'trnsp.gif" width="3" height="31" border="0"></td>'
	html+='	<td  '+class3+' width="'+width+'"><a  href="wintersports.php">winter sports<br>(eg. skiing)</a></td>'
	html+='	<td><img alt="" src="'+imgPath+'trnsp.gif" width="3" height="31" border="0"></td>'
	if (!backpacker) html+=' <td  style="width:31px;height:31px;background-color:#ffffff;" ><a href=\'http://www.travelinsurance-uk.org/media-centre/?feed=rss2\' title=\'Travel Insurance Blog\'><img src="'+imgPath+'rss.gif" width="30" height="30" border="0" alt="RSS feed" ></a></td>';
	else html+='<td  '+class4+' width="'+width+'"><a  href="backpacker.php">backpacker</a></td>'									
	html+=' </tr>'
	html+='</table>'

document.write(html);
}

function showHowHear(){
var html='';
html+='<table width="100%"  border="0" cellspacing="0" cellpadding="0" align="center">'
html+='                                 <tr class="qRow2">'
html+='                                         <td height="20" align="left" style="padding-left:8px;color:white;font-size:small;font-weight:bold;" colspan="2"  >How did you hear of us?</td>'
html+='                                 </tr>'
html+='                                 <tr class="qRow1">'
html+='                                         <td align="left"  style="padding:8px;color:#2B1B62;letter-spacing:0px;font-size:small; width: 314px;" >We would be grateful if you could tell us what<br>brought you to travelinsurance-uk.org on this occasion (optional)</td>'
html+='                                         <td align="left">'
html+='                                                 <select id="howHear" name="howHear" >'
html+='                                                                                                 <option value="">Please Select</option>'
html+='                                                                                                 <option value="">--------------</option>'
html+='                                                                                                 <option value=""></option>'
html+='<option value="Recommendation by friend or family">Recommendation by friend or family</option>'
html+='<option value="Google search">Google search</option>'
html+='<option value="Yahoo search">Yahoo search</option>'
html+='<option value="Other search engine">Other search engine</option>'
html+='<option value="TV">TV</option>'
html+='<option value="Yours Magazine">Yours Magazine</option>'
html+='<option value="Legion Magazine">Legion Magazine</option>'
html+='<option value="Active Life Magazine">Active Life Magazine</option>'
html+='<option value="Heritage Today">Heritage Today</option>'
html+='<option value="Mature Times">Mature Times</option>'
html+='<option value="National Trust Magazine">National Trust Magazine</option>'
html+='<option value="Used travelinsurance-uk before">Used travelinsurance-uk.org before</option>'
html+='<option value="Email newsletter">Email newsletter</option>'
html+='<option value="Postal newsletter">Postal newsletter</option>'
html+='<option value="Daily Telegraph Sunday Telegraph">DailyTelegraph / Sunday Telegraph</option>'
html+='<option value="Daily Mail  Mail on Sunday">Daily Mail / Mail on Sunday</option>'
html+='<option value="Website advert">Website advert</option>'
html+='<option value="Website recommendation">Website recommendation</option>'
html+='<option value="Comparison website">Comparison website</option>'
html+='<option value="Radio">Radio</option>'
html+='<option value="None of the above">None of the above</option>'
html+='                                                 </select>'
html+='                                         </td>'
html+='                                 </tr>'
html+='                         </table>'

document.write(html);
}


function dispMenu(menu,menuParent){
	var ddY = 147;
	document.getElementById(menu).style.display = "block";
	if(menuParent){
		changeBg(menuParent)
		

		if (navigator.appName=="Opera") {
			ddY = 147;
		}
		if (navigator.appName.indexOf("Microsoft")!=-1) {
			ddY = 154;
		}

	}

	document.getElementById(menu).style.top = ddY + "px";
}

function hideMenu(menu,menuParent){
	document.getElementById(menu).style.display = "none";
	if(menuParent)
		changeBg(menuParent,"no")
}

function showFAQ() {
// This function does nothing but avoids errors raised at the clone sites for not having it.
}