
function open_eedition(url)
	{
		var features = "width=910,height=875,resizable=0,toolbar=0,scrollbars=1";  

		wnd = window.open(url, 'Task_window', features);
		wnd.focus();
	}

function open_task_win(url)
	{
		var features = "width=640,height=480,resizable=0,toolbar=0,scrollbars=1";  

		wnd = window.open(url, 'Task_window', features);
		wnd.focus();
	}
	
function open_holidaycard_win(url)
	{
		var features = "width=640,height=640,resizable=0,toolbar=0,scrollbars=1";  

		wnd = window.open(url, 'Task_window', features);
		wnd.focus();
	}
	
function open_sponsor_win(url)
	{
		var features = "width=695,height=500,resizable=0,toolbar=0,scrollbars=1";  

		wnd = window.open(url, 'Task_window', features);
		wnd.focus();
	}
	
function open_small_win(url)
	{
		var features = "width=250,height=150,resizable=0,toolbar=0,scrollbars=1";  

		wnd = window.open(url, 'Task_window', features);
		wnd.focus();
	}	
	
function open_media_win(url)
	{
		var features = "width=500,height=550,resizable=0,toolbar=0,scrollbars=1";  

		wnd = window.open(url, 'Task_window', features);
		wnd.focus();
	}

	function toggleDiv(id,flagit) 
	{
		if (flagit=="1"){
		if (document.layers) document.layers[''+id+''].visibility = "show"
		else if (document.all) document.all[''+id+''].style.visibility = "visible"
		else if (document.getElementById) document.getElementById(''+id+'').style.visibility = "visible"
	}
		else
		if (flagit=="0"){
		if (document.layers) document.layers[''+id+''].visibility = "hide"
		else if (document.all) document.all[''+id+''].style.visibility = "hidden"
		else if (document.getElementById) document.getElementById(''+id+'').style.visibility = "hidden"
	}
}

 

		function showform(base_nm, dest)
		{
			var div_nm = ("did_"+base_nm);
			var frm_nm = ("ifrm_"+base_nm);

			if (self.innerWidth)
			{
				frameWidth = self.innerWidth;
				frameHeight = self.innerHeight;
			}
			else if (document.documentElement && document.documentElement.clientWidth)
			{
				frameWidth = document.documentElement.clientWidth;
				frameHeight = document.documentElement.clientHeight;
			}
			else if (document.body)
			{
				frameWidth = document.body.clientWidth;
				frameHeight = document.body.clientHeight;
			}

			if (document.layers)
			{	offSet = window.pageYOffset;  }
			else if (document.all)
			{	offSet = document.body.scrollTop;	}
			else if (document.getElementById)
			{	offSet = window.pageYOffset;	}

			var frm_width = ((frameWidth - 350) / 2);
			var frm_height = ((frameHeight - 200) / 2)+offSet;
//alert(frm_nm+" : "+div_nm);
			reposition(frm_nm,frm_width,frm_height);
			document.getElementById(div_nm).style.visibility="visible";
			frames[frm_nm].location.href = dest;
//alert(dest);
		}
		
		function hideform(hidden_div)
		{
			document.getElementById(hidden_div).style.visibility="hidden";
		}

		function reposition(object,x,y)
		{
			if (document.layers && document.layers[object] != null)
			{
				document.layers[object].left = x;
				document.layers[object].top = y;
			}
			else if (document.all)
			{
				document.all[object].style.posLeft = x;
				document.all[object].style.posTop = y;
			}
		}


// -->
