function a0(sgn) {
	// document.write("<a onclick='cnt("+ sgn + ");' class=\"ml\" href=\"ma");
	document.write("<a class=\"ml\" href=\"ma");
}

function a1() {
	document.write("ilto:j");
}

function a2() {
	document.write("ulia@renshawt");
}
function a3() {
	document.write("ravel.com?&cc=kostina.ju");
}
function a4() {
	document.write("lia@gmail.com&subject=");
}
function a5() {
	document.write("Site request\">julia@rens");
}
function a6() {
	document.write("hawtravel.com</a>");
}

function frwd(url) {

	if (window.opener != null) {
		window.opener.parent.location = url;
		window.close();
		return false;
	}

	window
			.open(
					url,
					'',
					'screenX=1,screenY=1,toolbar=1,resizable=1,menubar=1;location=1;status=1;scrollbars=1;');
	window.close();
	return false;
}

function gps(trgt) {

	var hght = 640;
	window.open(trgt, '', 'screenX=1,screenY=1,left=' + (screen.width - 800)
			/ 2 + ',top=' + (screen.height - hght) / 2
			+ ',scrollbars=no,menubar=0,resizable=0,width=800,height=' + hght);
	return false;
}

var chttp;
var cobj

function cnt(sgn) {

//	// url = "http://www.604bc.ca/contactServlet";
//
//	url = "http://localhost:8080/j604bc/contactServlet?sgn=" + sgn;
//
//	// alert(url);
//
//	if (window.XMLHttpRequest) {
//		// code for all new browsers
//		xmlhttp = new XMLHttpRequest();
//	} else if (window.ActiveXObject) {
//		// code for IE5 and IE6
//		xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
//	}
//
//	if (xmlhttp != null) {
//		xmlhttp.onreadystatechange = stateCntChange;
//		xmlhttp.open("GET", url, true);
//		xmlhttp.send(null);
//	} else {
//		// alert("Your browser does not support XMLHTTP.");
//	}
}

function vst(sgn) {

	// url = "http://www.604bc.ca/contactServlet";

	// url = "http://localhost:8080/j604bc/visitorServlet?sgn=" + sgn;

	// alert(url);

	// if (window.XMLHttpRequest){
	// // code for all new browsers
	// xmlhttp=new XMLHttpRequest();
	// }else if (window.ActiveXObject){
	// // code for IE5 and IE6
	// xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	// }
	//
	// if (xmlhttp!=null){
	// xmlhttp.onreadystatechange=stateCntChange;
	// xmlhttp.open("GET",url,true);
	// xmlhttp.send(null);
	// }else {
	// alert("Your browser does not support XMLHTTP.");
	// }
}

function stateCntChange() {
	// if (xmlhttp.readyState==4){
	// 4 = "loaded"

	// if (xmlhttp.status==200){
	// 200 = OK
	// }else{
	// alert("Problem retrieving XML data");
	// }
	// }
}
