function noSpamThanks(prefix){ location.href = "mailto:"+prefix+"@redvegas.com"; }
function noSpamThanksWrite(prefix){ document.write(prefix+"@redvegas.com"); }

function addbookmark(url,title)
{ 
	if( window.sidebar && window.sidebar.addPanel ) {
	    //Gecko (Netscape 6 etc.) - add to Sidebar
	    window.sidebar.addPanel( title, url, '' );
	} else if( window.external && ( navigator.platform == 'Win32' ||
	      ( window.ScriptEngine && ScriptEngine().indexOf('InScript') + 1 ) ) ) {
	    //IE Win32 or iCab - checking for AddFavorite produces errors for no
	    //good reason, so I use a platform and browser detect.
	    //adds the current page page as a favourite; if this is unwanted,
	    //simply write the desired page in here instead of 'location.href'
	    window.external.AddFavorite( url, title );
	} else if( window.opera && window.print ) {
	    //Opera 6+ - add as sidebar panel to Hotlist
	    return true;
	} else if( document.layers ) {
	    //NS4 & Escape - tell them how to add a bookmark quickly (adds current page,
	    //not target page)
	    window.alert( 'Please click OK then press Ctrl+D to create a bookmark' );
	} else {
	    //other browsers - tell them to add a bookmark (adds current page, not target page)
	    window.alert( 'Please use your browser\'s bookmarking facility to create a bookmark' );
	}	
}

function wStatus(url) {
	window.status = url;
}














// JavaScript Document
function popup(url,w,h,s,n)
{
	var x;
	var l = (window.screen.width-w)/2;
	var t = (window.screen.height-h)/2; 
	x = window.open(url,n,"height="+h+",width="+w+",status=no,toolbar=no,menubar=no,location=no,scrollbars="+s+",left="+l+",top="+t);
    x.window.focus();
}


function newclosewin(n)
{
	window.open(n);
	window.self.close();
}

function download(url)
{   			
window.location.href=url;
}

function GoToSite(url)
{   	
window.open(url);
}

<!--
// Hide script from older browsers
var urlAddress = "http://www.ypoker.com/poker-women/interpoker/WSOP-Ladies/Jennifer-Tilly.shtml";
var pageName = "Jennifer-Tilly"; function addToFavorites()
{
if (window.external)
{
window.external.AddFavorite(urlAddress,pageName)
}
else
{ 
alert("Your browser doesn't support this function. Please add us manually");
}
}
// -->



