function show_div(str1)	
{

	i = document.all.advertisement_form;
		if(i.style.visibility == "visible")
			{
				//i.style.visibility = "hidden";
			}
		else i.style.visibility = "visible";

}

function show_hide(str1)	
{

	i = str1;
		if(i.style.visibility == "visible")
			{
				i.style.visibility = "hidden";
				i.style.position = "absolute";
			}else{
				i.style.visibility = "visible";
				i.style.position = "fixed";
			}

}

function select_radio(str)
{	
	document.getElementById(str).checked = "checked";
}

function trafVal(from,to,val)
{
	if(document.getElementById(from).value.length == val)
	{
		document.getElementById(to).focus();
	}
}
