// Site-specific functions
function OpenEmail(box) 
{
   domain="c-point.com";
   document.write("<a href=\"mailto:"+box+"@"+domain+"\"><u>"+box+"@"+domain+"</u></a>"); 
}

function HiddenRecipient(box) 
{
   domain="c-point.com";
   document.write("<INPUT TYPE=\"hidden\" NAME=\"recipient\" VALUE=\""+box+"@"+domain+"\">"); 
}

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 DisplayCopyright()
{
	document.write('<TABLE align=center border=0><TBODY><TR><TD width="99" vAlign=top> <DIV align=center>' + 
	'<P class=Copyright><img src="http://www.c-point.com/images/general/cpointlogo_sm.gif" width="89" height="42"></P></DIV></TD>' +
    '<TD width="392" vAlign=top class="Copyright">C Point<br>Antechinus&reg; Creative Software: <a href="http://www.c-point.com">http://www.c-point.com</a><br>' +
    'Dr Alex Internet Marketing: <a href="http://www.dralexmarketing.com">http://www.dralexmarketing.com</a><br>' +
    'Innovation House, Technology Park, First Ave, Mawson Lakes 5095<br>Tel: +618 8263 3623 &nbsp;&nbsp;Fax: +618 8121 9247<br>');
    
    OpenEmail('CustomerService');
    
    document.write('<br>' + 
    'Copyright© 1998-2006 C Point Pty Ltd. All Rights Reserved<br> <a href="http://www.dralexmarketing.com/privacy.php" target=_blank>Privacy ' + 
    'Policy</a> &nbsp;| <a href="http://www.dralexmarketing.com/aup.php" target=_blank>Acceptable '+
    'Use Policy (AUP)</a> </TD></TR></TBODY> </TABLE>');
}

function dy()
{
	document.write("2009");	
}