function Debug(p_str)
{
		if(p_str!=0)
		{
				alert(p_str);
		}
		else
		{
				alert("Debug");
		}
}

function Get_Obj(p_id,p_value)
{
	
	//alert(p_id);
	
	var f_obj;
	
	if(document.getElementById(p_id))
	{
		
		f_obj=document.getElementById(p_id);
		
		if(p_value!=1)
		{
				return f_obj;
		}
		else
		{
				return f_obj.value;
		}
	}
}


function Get_Style(p_id)
{
	return Get_Obj(p_id).style;
}

function Get_Href(p_id)
{
		return Get_Obj(p_id).href;
}


function Url_Js(p_url)
{
	window.location.href=p_url;
}


function Url_Js_Blank(p_url)
{
	var ff=window.open(p_url,"blank","");
}
