function openscript(url, width, height) {
	Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=0,scrollbars=yes,menubar=no,status=no' );
	Win.focus();
}

function clearform(text,which){
	if (which.value==text)
	which.value=''}


function check(form){    
	mailx = document.zform.email.value;
	if ( mailx == "" || mailx.indexOf ('@', 0) == -1 ||  mailx.indexOf ('.', 0) == -1)
	{
		alert ("Invalid E-mail Address !");
		return false;
	}
}

function ss(w){window.status=w;return true;}
function cs(){window.status='';}


$(document).ready( function(){
	
	// rel=external , open in new window	
	$("a[rel=external]").click( function() {

	    var href = $(this).attr('href');
	    window.open(href);
	    return false;
	
	} );
	
})
