var nws;
function catpreview(){
        if(nws && !nws.closed)
                nws.close();
        nws = window.open(catpreview.arguments[0],"small","toolbar=0,scrollbars=0,location=0,directories=0,status=0,menubar=0,resizable=0,width=730,height=460");
        nws.focus();
                     }
function catpreviewz(){
        if(nws && !nws.closed)
                nws.close();
        nws = window.open(catpreviewz.arguments[0],"small","toolbar=0,scrollbars=1,location=0,directories=0,status=0,menubar=0,resizable=1,width=730,height=460");
        nws.focus();
                     }


function code_enter() {
	v = document.all["code"].value;
	if (v == "Code number") {	
		document.all["code"].value = "";
	}
}

function code_leave() {
	v = document.all["code"].value;
	if (v.length == 0) {
		document.all["code"].value = "Code number";		
	}
}

function email_enter() {
	v = document.all["email"].value;
	if (v == "Your e-mail address") {	
		document.all["email"].value = "";
	}
}

function email_leave() {
	v = document.all["email"].value;
	if (v.length == 0) {
		document.all["email"].value = "Your e-mail address";		
	}
}

