// JavaScript Document
/*document.oncontextmenu=function(){
	window.event.returnValue=false;
}*/
/*document.onmousemove=function(){
	window.event.returnValue=false;
}
document.onkeydown=function(){
	if(window.event.ctrlKey&&window.event.keyCode==67){
		window.event.returnValue=false;
	}
	if(window.event.altKey){
		getob("hiddendiv").style.display="block";
	}
}
document.onkeyup=function(){
	getob("hiddendiv").style.display="none";
}*/
function hrefs(url,toname){
	var winvar=window.open(url,toname)
	winvar.focus();
}
/*function atag(){
	var atag=document.getElementsByTagName("a");
	for(l=0;l<atag.length;l++){
		if((atag[l].href.indexOf("#")+1)!=atag[l].href.length){
			atag[l].href="javascript:hrefs('"+atag[l].href+"','"+atag[l].target+"');";
			atag[l].target="_self";
		}
	}
}*/
function getob(id){
	return document.getElementById(id);
}
var xmls=false;
var onAjax=new Function();
function ajaxs(url,vae){
	var xmls=false;
	var sde=null;
	try{
		xmls=new XMLHttpRequest();
	}catch(e){
		try{
			xmls=new ActiveXObject("Microsoft.XMLHTTP");
		}catch(e){
			try{
				xmls=new ActiveXObject("Microsoft.XMLHTTP");
			}catch(e){
				xmls=false;
			}
		}
	}
	if(vae){
		sde=vae;
	}
	xmls.onreadystatechange=function(){
		if(xmls.readyState==4&&xmls.status==200){
			onAjax(xmls.responseText);
		}
	}
	xmls.open('POST',url,true);
	xmls.setRequestHeader('content-type','application/x-www-form-urlencoded');
	xmls.send(sde);
}