<!--

// Script block from:
// http://www.insighteye.com/
// Please visit the site for the latest version of these codes.


// -----------------------------------------------------



// Email Page URL

function emailink(){
window.location = "mailto:"+"?subject=Hi, this web page might interest you..." + "&body="+window.location.href;
}



// Terms and Conditions Script

function checkCheckBox(f){
if (f.agree.checked == false  )
{ 
alert("Please tick the box to continue"); 
return false;
}else 
return true;
}



// Terms and Conditions Script - Text Version

function checkCheckBoxAgree(c){
if (c.agree_text.checked == false  )
{ 
alert("Please tick the box to continue"); 
return false;
}else 
return true;
}




// Form Box Counter

function CheckSize(form, field) {
if (field ==1) {
Ctrl = form.test;
y = 10;
x = Ctrl.value.length;
}
if (x < y)
SendMsg (Ctrl, "Number of characters is: " + x);	else
SendMsg (Ctrl, "Too Long - number of characters is: " + x);}
function SendMsg (Ctrl, PromptStr) {	alert (PromptStr);
Ctrl.focus();	return;
}




// Select All Text Box

function select_all(theField) {
var tempval=eval("document."+theField)
tempval.focus()
tempval.select()
}


// No-Spam Email


function EM0958756(a) {
RE = /^(.+)\#(.+)$/;
var launch = a.replace(RE,"mailto:$1@$2");
window.location = launch;
}

//-->