// JavaScript Document
function space(no)
{
	var str = '&nbsp;';
	for (i=0; i < no; i++)
	{
		document.write(str);
	}
}
function Redirect_URL(url)
{
	window.location = url;
}
function cmn_event()
{
	//document.write("fired an event");
	alert("events");
}
function init_events()
{
	div_eh = document.getElementById("mydiv");
	div_eh.addEventListener('click',cmn_event(),false);
	div_eh.addEventListener('mouseover',cmn_event(),false);
	div_eh.addEventListener('mouseout',cmn_event(),false);
}

function frameLink(fname,pname)
{
	var url = pname;
	if (fname == "right_frame_1")
	{
		parent.right_frame_1.location = pname ;
	}
	if (fname == "right_frame_2")
	{
		parent.right_frame_2.location = pname ;
	}
	if (fname == "right_frame_3")
	{
		parent.right_frame_3.location = pname ;
	}
}

function ChangeCur(cur_type)
{
	if (cur_type == 0)
	{
		document.gs.submit.style.cursor = "default";
	}
	if (cur_type == 1)
	{
		document.gs.submit.style.cursor = "hand";
	}
}