
nftimeout = setTimeout("NoFlash()", 10000); 	// 5 seconds
//	function NoFlash() {window.location="http://link2hotels.com/indexnf.html";}
function NoFlash() {window.location="http://worldhotelsyellowpages.com/findhotels.asp";}
function FlashOK() {clearTimeout(nftimeout);}	// }

if (typeof(ref) != "string") ref = "";

function OpenDU() {
	FlashOK();
	window.location = siteUrl + "http://link2hotels.com/indexdu.html" + rdom;
}

function GoHome() {
	FlashOK();
	window.location = "http://worldhotelsyellowpages.com/index.htm";
}

function GoFlash(langCode) {
	FlashOK();
	var	gotoUrl = "http://link2hotels.com/indexff.php?ref="+ref+"&langCode="+langCode;
	//	alert ("gotoUrl = " + gotoUrl);
	var w=window.open(gotoUrl, 'f', 'top=0,left=6,width='+(screen.width-22)+',height='+(screen.height-120)+',resizable'); 
	w.focus();
}

function OpenBig() {
	FlashOK();
	var w=window.open(siteUrl+"http://link2hotels.com/indexff.php?ref="+ref,'f','top=0,left=6,width='+(screen.width-22)+',height='+(screen.height-120)+',resizable'); 
	w.focus();
}


bmUrl	= document.location.href; 
bmTitle	= "Link2Hotels"; 
function BookMark () {
	if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) { 
		document.write('&nbsp;&nbsp;&nbsp;<a href="javascript:window.external.AddFavorite(bmUrl,bmTitle);"'); 
		//	document.write(' onMouseOver=" window.status=' + "'Add our site to your favorites!'; return true;" + '"'); 
		//	document.write(' onMouseOut=" window.status=' + "' '; return true;" + '"'); 
		document.write('>Add this site to your favorites!</a>'); 
	} else { 
		var msg = "Don't forget to bookmark " + bmTitle + "!"; 
		if (navigator.appName == "Netscape") {
			if (navigator.appVersion.toLowerCase().indexOf("mac") != -1) {
				msg += " (Apple-D)"; 
			} else {
				msg += " (CTRL-D)"; 
			}
		}
		document.write (msg); 
	}
}


