function toggleDisplay(id){
	togID = document.getElementById(id)
	if(togID.style.display == "block"){
		togID.style.display = "none"
	} else {
	togID.style.display = "block";
	}
}
function jointJumpVT(){
	jj = document.jointj.jump.value;
	window.location.href = "http://www.vegastripping.com/lasvegas/"+jj+"/";
}
function hotPop(){
	h = document.getElementById('whatshot')
	h.style.display="block";
}
function sendPage(){
	sendername = document.sendtofriendform.sendername.value;
	senderemail = document.sendtofriendform.senderemail.value;
	recipientname = document.sendtofriendform.recipientname.value;
	recipientemail = document.sendtofriendform.recipientemail.value;
	sendurl = document.sendtofriendform.sendurl.value;	
	var url = "/sendtofriend/stf_thankyou.php?sendername=" + sendername + "&senderemail=" + senderemail + "&recipientname=" + recipientname + "&recipientemail=" + recipientemail + "&sendurl=" + sendurl + "&domain=fj";
	ajaxRequest(url,'stftarget');
}
function ajaxRequest(url,trgt) {
	aRequest = false;
	// FF, Safari
	if(window.XMLHttpRequest) {
		try {
			aRequest = new XMLHttpRequest();
		} catch(e) {
			aRequest = false;
		}
	// IE
	} else if(window.ActiveXObject) {
		try {
			aRequest = new ActiveXObject("Msxml2.XMLHTTP");
		} catch(e) {
			try {
				aRequest = new ActiveXObject("Microsoft.XMLHTTP");
			} catch(e) {
				aRequest = false;
			}
		}
	}
	
	aRequest.open("GET", url,true);
		aRequest.onreadystatechange = function() 
		{
			if (aRequest.readyState<=3) {
				oLoad = document.getElementById(trgt);
				oLoad.innerHTML = '<div class=loading>Loading</div>';
			}
			if (aRequest.readyState==4) {
				oDoc = document.getElementById(trgt);
				oDoc.innerHTML = aRequest.responseText;
			}
		}
		aRequest.send(null);
	}
function popupWindow(url,wName,wPrefs){
	var newWindow = window.open(url, wName, wPrefs); 
}