<!--
function doSubmit() {
	if (confirm('Please note,\n\n Once you press send you cannot edit this newsletter anymore. Do you want to send now?')) {
		document.forms['frmCompose'].send.disabled=true;
		document.forms['frmCompose'].send.disabled=true;
		document.all('Message').innerHTML='<b>Sending....</b><br>The newsletter has been sent.';
		document.forms['frmCompose'].submit();
	}
}


function BannerView(BannerID) {
		imgWin = window.open('/MyAccount/Banner_View.asp?BannerID='+BannerID, 'Banner_Security', 'dependent=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=200,height=200,left='+(window.screen.width-(window.screen.width-500))/2+',top=15');
		imgWin.window.focus();	
}

function OpenPage(iurl)
	{
		imgWin = window.open(iurl, 'Print Page', 'dependent=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=600,height=600,left='+(window.screen.width-600)/2+',top=0');
		imgWin.window.focus();
	} 

			
function Is () {
// convert all characters to lowercase to simplify testing
var agt=navigator.userAgent.toLowerCase()
this.major = parseInt(navigator.appVersion)
this.minor = parseFloat(navigator.appVersion)

this.nav  = ((agt.indexOf('mozilla')!=-1) && ((agt.indexOf('spoofer')==-1) && (agt.indexOf('compatible') == -1)))
this.nav2 = (this.nav && (this.major == 2))
this.nav3 = (this.nav && (this.major == 3))
this.nav4 = (this.nav && (this.major == 4))
this.nav4up = this.nav && (this.major >= 4)

this.ie   = (agt.indexOf("msie") != -1)
this.ie3  = (this.ie && (this.major == 2))
this.ie4  = (this.ie && (this.major == 4))
this.ie4up  = this.ie  && (this.major >= 4)

this.ie5  = (this.ie && (this.major == 4) && (agt.indexOf("msie 5.")!=-1) ); 
this.ie5up  = this.ie5; 
this.ie6  = (this.ie && (this.major == 4) && (agt.indexOf("msie 6.")!=-1) ); 
this.ie6up  = this.ie6; 
this.opera = (agt.indexOf("opera") != -1)
}

		
var win=null;
function OpenPopWindow(mypage,myname,w,h,options)
{
	LeftPosition=(screen.width)?(screen.width-w)/2:100;
	TopPosition=(screen.height)?(screen.height-h)/2:100;
	option = 'top='+TopPosition+',left='+LeftPosition;
	if(options=="")
	{
		options='width='+w+',height='+h+','+option;
	}
	if(options!="")
	{
		options='width='+w+',height='+h+','+ options+','+option;
	}
	win=window.open(mypage,myname,options);
}
function OpenAdvanceOptions(mypage,myname,options)
	{
		OpenPopWindow(mypage,myname,450,500,options);
	}

function bookmark()
{
	bookmarksite('exclusive IT Urls', 'http://www.HomesTime.com');
}
function bookmarksite(title,url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}

function HighlightAll(theField) {
var copytoclip=1
var tempval=eval("document."+theField)
tempval.focus()
tempval.select()
if (document.all&&copytoclip==1){
therange=tempval.createTextRange()
therange.execCommand("Copy")
window.status="Contents highlighted and copied to clipboard!"
setTimeout("window.status=''",1800)
}
}


function LaunchWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function check_no_image()
	{
		if (document.pImage){
			if (document.pImage.width<2){
				document.pImage.width=120;
				document.pImage.height=120;
				document.pImage.src='/_images/noimage.gif';
			}
		}
	}

//-->

