function ToolbarItemOnMouseOver(tdIn)
{
	tdIn.style.border = "#669933 1px solid";
	tdIn.style.cursor = "hand";
	tdIn.style.backgroundColor = "#cccc99";
}

function ToolbarItemOnMouseOut(tdIn)
{
	tdIn.style.border = "#ece9d8 1px solid";
	tdIn.style.backgroundColor = "";
}

function LoadLink(strHyperlinkIn) 
{
	window.location.assign(strHyperlinkIn);
}
function OpenContact(strParameters)
{
	window.open("../contactmanagement/contact.aspx?" + strParameters,"ContactOpen","height=480,width=400,scrollbars=yes,menubar=no,statusbar=no,toolbar=no,resizable=yes",false);
}
function Wizard(lngSize,strUrl)
{
	if (lngSize == 1)
		window.open("../propertymanagement/property_wizard1.aspx?start=Y","","height=590,width=795,scrollbars=yes,menubar=no,statusbar=yes,toolbar=no,resizable=yes",false);
	else if (lngSize ==2)
		window.open("../contactmanagement/new_contact_wizard.aspx?start=Y","","height=510,width=630,scrollbars=yes,menubar=no,statusbar=no,toolbar=no,resizable=yes",false);
    else if (lngSize == 3)
        window.open("../wizard/wizard.aspx?" + strUrl, "", "height=470,width=580,scrollbars=no,menubar=no,statusbar=no,toolbar=no,resizable=yes", false);

}
function HelpKB()
{
		window.open("http://kb.entegral.biz/support-request","","height=700,width=950,scrollbars=yes,menubar=no,statusbar=no,toolbar=no,resizable=yes",false);
}
function OpenProperty(lngPropertyRefIn)
{
	window.open("../propertymanagement/property_mandate.aspx?PropertyRef=" + lngPropertyRefIn,"Property","height=550,width=795,scrollbars=yes,menubar=no,statusbar=no,toolbar=no,resizable=yes",false);	
}
function OpenReport(intReportRef)
{
 	 window.open("../reports/execute_report.aspx?ReportRef=" + intReportRef,"Report","height=550,width=780,scrollbars=no,menubar=no,statusbar=no,toolbar=no,resizable=yes",false);
}
function OpenStatistic(intStatRef)
{
 	 window.open("../reports/statistic.aspx?StatRef=" + intStatRef,"Report","height=550,width=780,scrollbars=no,menubar=no,statusbar=no,toolbar=no,resizable=yes",false);
}
function SetLocation(strUrlIn)
{
	parent.frames.item(2).location.assign(strUrlIn);		
	//parent.frames.item('workspace').location.assign(strUrlIn);
}				

