function redirect(page)
{
    window.location.href = page;
}

function open_window(page,params)
{
    window.open(page,"popup",params);
}

function homepage_domain_redirect()
{
	if (window.location.search.indexOf('gclid') == -1)
	{
		if ( window.location.href.toLowerCase().indexOf('default.aspx') != -1 )
		{
			window.location.href=window.location.href.substring(0,window.location.href.toLowerCase().indexOf('default.aspx'));
		}
	}
}

function verify_delete(page, message)
{
	var result = confirm(message)
	
	if( result ) 
	{
		window.location.href = page
	}
}
