function mklnk(URL, extras, text)
{
document.write('<a href="' + URL + '" rel="nofollow"' + extras + '>' + text + '</a>');
}

// Site-specific functions
function OpenEmail(box) 
{
   domain="onlinebingostop.com";
   document.write("<a href=\"mailto:"+box+"@"+domain+"\"><u>"+box+"@"+domain+"</u></a>"); 
}

function HiddenRecipient(box) 
{
   domain="onlinebingostop.com";
   document.write("<INPUT TYPE=\"hidden\" NAME=\"recipient\" VALUE=\""+box+"@"+domain+"\">"); 
}

function Advertise() 
{
   var box = "services";
   var domain="onlinebingostop.com";
   document.write("<a href=\"mailto:"+box+"@"+domain+ "?subject=Advertise on Online Bingo Stop" + "\"><u>"+"Email us"+"</u></a>"); 
}

function HighlightAll(theField) 
{
	var tempval=eval("document."+theField);
	tempval.focus();
	tempval.select();
	if (document.all)
	{
		therange=tempval.createTextRange()
		therange.execCommand("Copy")
		window.status="Contents highlighted and copied to clipboard!"
		setTimeout("window.status=''",1800)
	}
}

function getPars(str2)
{	
	var str = "" + str2;
	var len = str.length; 
	var cnt=0;
	var bAdd=0;
	var pars = new String();
	for(cnt=0; cnt<len; cnt++)
	{
		var ch = str.charAt(cnt);
		if(bAdd) pars += ch;
		else if(ch=='?') bAdd = 1;
	}
	return(pars);
}

function dy()
{
	document.write("2009");	
}
