// JavaScript Document
function createObject() {
var request_type;
var browser = navigator.appName;
if(browser == "Microsoft Internet Explorer"){
request_type = new ActiveXObject("Microsoft.XMLHTTP");
}else{
request_type = new XMLHttpRequest();
}
return request_type;
}

var http = createObject();
var nocache = 0;

function opn_reg(){
	window.open("/registration.php", "wf", "toolbar=0,width=550,height=400");
//nocache = Math.random();
//http.open('get', '/registration.php');
//http.onreadystatechange = opnReply;
//http.send(null);
}
function opn_ent(){
	window.open("/login_main.php", "wf", "toolbar=0,width=550,height=400");
/*nocache = Math.random();
http.open('get', '/login_main.php');
http.onreadystatechange = opnReply;
http.send(null);
*/}
function opnReply(){
	var response = http.responseText;
	document.getElementById('content').innerHTML = response;

}

