
//

//<script>

// Default window ornaments for the live help dialog
var _liveHelpDialogFeature = "status=1,width=570,height=485,resizable=1";



function WriteLiveSupportButton()
{


	var ImageURL='http://www.livechat-support.com/CuteSoft_Client/CuteChat/images/online.jpg';

	ImageURL= "<img title=\"support chat\" src=\""+ImageURL+"\" border=0>";

	// write the live support button to the page
	document.write('<a href=\"###\" onclick=\"OpenLiveSupport()\">'+ImageURL+'</a>');

}

WriteLiveSupportButton();

function OpenLiveSupport()
{
	var dept = 'FHW';
	var url="http://www.livechat-support.com/CuteSoft_Client/CuteChat/"+"SupportRedirect.aspx?Referrer="+escape(document.referrer)+"&Url="+escape(location.href)+"&dept="+dept+"&_time="+(new Date().getTime());
	var win;
	try
	{
		NewWindow(url,'SupportRedirect','570','485','no','no');
	}
	catch(x)
	{
	}
	
	
}

function NewWindow(url, windowName, w, h, scroll, resizable) {
           var winl = (screen.width - w) / 2;
           var wint = (screen.height - h) / 2;
           winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+', resizable='+resizable+'';
           win = window.open(url, windowName, winprops);
           if(win==null)
			{
				alert("Pop-up Blocker Detected.");
			}
           if (parseInt(navigator.appVersion) >= 4) { 
              	win.window.focus(); 
           }
        }


