


var breakTool = "View all about Break Reminder";
var clipTool = "View all about Clipboard Express Pro";
var mathTool = "View all about MathsOwn";
var mp3Tool = "View all about MP3Detective";
var timeTool = "View all about TimesOwn";
var timeProTool = "View all about TimesOwn Pro";
var homeTool = "Go to our Home page";
var favTool = "Add this page to your Favourites";
var printTool = "Open a Menu Free Page for Brochure Printing";
var emailTool = "Start an email to us";
var purchaseTool = "Purchase Software Licenses";
var width=100;
var height=100;
var InstallExe='';
var PicPath='' ;
var ToolTip='';
var xmlHttp = null;
var content = null;
var ImageControl = null;
var  HeaderScriptTop= null;
var  HeaderScriptBottom= null;
var LeftMenuIndex = null ;
var iIndexXml = 0;
var ObInstallExe =null;
var ObPicPath  =null;
var ObWidth=null;
var  ObHeight=null;
var  ObToolTip =null;
var ObCaptionTitle = null;
var NewWindow = null;
var str = "";
var str2 = "";
var xmlHttpDateModified= null;
strHeaderTagTop= "<table valign='top' border='0'><tr><td><center><FONT class=\"MainHeadingClip\" id=\"HeaderTop\"></FONT></center></td></tr><tr><td>";
strHeaderTagBottom= "<center><B><FONT class=\"SmallHeading\" id='HeaderBottom'></FONT></B></center></td></tr></table>";
strHeader   = strHeaderTagTop + strHeaderTagBottom;


<!--


	//var CurrentPosition="0";
	//var sURL = unescape(window.location);
	//if(cookieEnabled){
	//	if(getCookie("MediaPlayerPosition")!=null){
	//		if(sURL.indexOf("dragndrop") != -1){
	//			if(document.all){
	//				CurrentPosition =getCookie("MediaPlayerPosition");
	//			}else{
	//				CurrentPosition =0;	
	//			}
	//		}
	//	}
	//}
	
	
	
	//if(document.all){
	//	if(getCookie("MediaPlayerPosition")!="0"){
	//		setCookie("MediaPlayerPosition","0");
	//	}
	//}/

	//var FileName = "";
	//if(getCookie("FileNameVideo") != null && getCookie("FileNameVideo") !=""){
	//	FileName = getCookie('FileNameVideo');
	//}else{
	//	FileName = "downloads/DragnDropLicensingCheqSoft.com.wmv";
	//}

  function perRound(num, precision) {
	var precision = 2; 
	precision = parseInt(precision); 
    var result1 = num * Math.pow(10, precision);
    var result2 = Math.round(result1);
    var result3 = result2 / Math.pow(10, precision);
    return zerosPad(result3, precision);
}

  function zerosPad(rndVal, decPlaces) {
    var valStrg = rndVal.toString(); 
    var decLoc = valStrg.indexOf("."); 
    if (decLoc == -1) {
        decPartLen = 0;
        valStrg += decPlaces > 0 ? "." : "";
         }
    else {
        decPartLen = valStrg.length - decLoc - 1;
    }
     var totalPad = decPlaces - decPartLen;
    if (totalPad > 0) {
        for (var cntrVal = 1; cntrVal <= totalPad; cntrVal++) 
            valStrg += "0";
        }
    return valStrg;
}

  function clear_field() {
		if (document.getElementById("number").value==document.getElementById("number").defaultValue) {
			document.getElementById("number").value='';
			fclearf();
		}
	}


	function log10(val)
	{ return(Math.LOG10E * Math.log(val)); }


	function checkNaN(val)
	{
		if (isNaN(val))
		{
			if (val < 0)
				return(Number.NEGATIVE_INFINITY);
			else
				return(Number.POSITIVE_INFINITY);
		}
		else
			return(val);
	}


   
	function compute()
	{
		
		val = parseFloat(document.getElementById("number").value);
		box = document.getElementById("software");
		price = box.options[box.selectedIndex].value;
		id =  box.options[box.selectedIndex].id;

		if (val < 0) val = val * -1;
		if (val < 1) val = 1;
		val = Math.round(val)		
        document.getElementById("number").value = val
		vax = val;
        if (val >= 1 )
		{
			if (id == "one") //br
			{
				
				val = (checkNaN((log10(val))));
				val = Math.pow(val,2.271514);
				val = Math.pow(0.9,val);
				val = price*vax*val;
				dprice = val/vax;
				if (dprice < 0.01) dprice = 0.01;
				if (dprice <= 0.01) val = 0.01*price*vax;
				percprice = (price-dprice)/price*100;
				
				document.getElementById("single").value = "US$ " + price + ".00";
				document.getElementById("discountedsingle").value = "US$ " +  perRound(dprice);
				document.getElementById("percentprice").value =  perRound(percprice) + "%";
		   		document.getElementById("finalv").value = "US$ " + addCommas(Math.round(perRound(val)));
		   }
		   else if (id == "two") //cep
		   {
				val = (checkNaN((log10(val))));
				val = Math.pow(val,2.271514);
				val = Math.pow(0.95,val);
				val = price*vax*val;
				dprice = val/vax;
				//alert("2")
				if (dprice < 0.01) dprice = 0.01;
				if (dprice <= 0.01) val = 0.01*price*vax;
				percprice = (price-dprice)/price*100;
				document.getElementById("single").value = "US$ " + price + ".00";
				document.getElementById("discountedsingle").value = "US$ " +  perRound(dprice);
				document.getElementById("percentprice").value =  perRound(percprice) + "%";
		   		document.getElementById("finalv").value = "US$ " + addCommas(Math.round(perRound(val)));
			}		
		   else if (id == "three") //mo
			{
				val = (checkNaN((log10(val))));
				val = Math.pow(val,2.271514);
				val = Math.pow(0.99,val);
				val = price*vax*val;
				dprice = val/vax;
				if (dprice < 0.01) dprice = 0.01;
				if (dprice <= 0.01) val = 0.01*price*vax;
				percprice = (price-dprice)/price*100;
		
				document.getElementById("single").value = "US$ " + price + ".00";
				document.getElementById("discountedsingle").value = "US$ " +  perRound(dprice);
				document.getElementById("percentprice").value =  perRound(percprice) + "%";
		   		document.getElementById("finalv").value = "US$ " + addCommas(Math.round(perRound(val)));
		    }
		   else if (id == "four") //to
			{			
				val = (checkNaN((log10(val))));
				val = Math.pow(val,2.271514);
				val = Math.pow(0.98,val);
				val = price*vax*val;
				dprice = val/vax;
				if (dprice < 0.01) dprice = 0.01;
				if (dprice <= 0.01) val = 0.01*price*vax;
				percprice = (price-dprice)/price*100;
		
				document.getElementById("single").value = "US$ " + price + ".00";
				document.getElementById("discountedsingle").value = "US$ " +  perRound(dprice);
				document.getElementById("percentprice").value =  perRound(percprice) + "%";
		   		document.getElementById("finalv").value = "US$ " + addCommas(Math.round(perRound(val)));
			}
		   else if (id == "five") //top
			{			
				val = (checkNaN((log10(val))));
				val = Math.pow(val,2.271514);
				val = Math.pow(0.975,val);
				val = price*vax*val;
				dprice = val/vax;
				if (dprice < 0.01) dprice = 0.01;
				if (dprice <= 0.01) val = 0.01*price*vax;
				percprice = (price-dprice)/price*100;
		
				document.getElementById("single").value = "US$ " + price + ".00";
				document.getElementById("discountedsingle").value = "US$ " +  perRound(dprice);
				document.getElementById("percentprice").value =  perRound(percprice) + "%";
		   		document.getElementById("finalv").value = "US$ " + addCommas(Math.round(perRound(val)));
			}

		}
		else
		{
			fclear()		
		}
	}

	function fclear()
        {
         document.getElementById("number").value = "" ;        
         document.getElementById("single").value = "";
         document.getElementById("discountedsingle").value = "";
         document.getElementById("percentprice").value = "";
         document.getElementById("finalv").value = "";
        }

	function fclearf()
        {
         document.getElementById("single").value = ""
         document.getElementById("discountedsingle").value = ""
         document.getElementById("percentprice").value = ""
         document.getElementById("finalv").value = ""
        }


function addCommas(nStr)
{
	nStr += '';
	x = nStr.split('.');
	x1 = x[0];
	x2 = x.length > 1 ? '.' + x[1] : '';
	var rgx = /(\d+)(\d{3})/;
	while (rgx.test(x1)) {
		x1 = x1.replace(rgx, '$1' + ',' + '$2');
	}
	return x1 + x2;
}

//This code is © copyright 2006 Chequers Software Limited, New Zealand, All rights reserved.
//This code may not be reproduced without written permission from Chequers Software Limited, New Zealand.
       

//-->




function Redirect()
{
 makeRequestHead("index.xml");
 AlterHash("index.xml",50);

 //top.location.href= "index.html";
}

function RedirectWithDelay()
{
 window.setTimeout("Redirect();", 10000);
}
function removeHash(){
	window.location.hash = "#";
}

function OpenWindow(sLocation,sName,Left,Top,width,height,toolbar,resizeable){
	NewWindow = window.open(sLocation,sName,'left=' + Left + ',top=' + Top + ',width=' + width+ ',height=' + height + ',toolbar=' + toolbar + ',resizable=' + resizeable);
}


if(bolPrint ==false){
	if(window.location.href.indexOf("#")!=-1 && window.location.hash !=""){
		setCookie("Hash",window.location.hash);
	}
	
	
	
	
	var percentWidthDifference = ((clientWidthWindow * 100)/screen.width );
	var percentHeightDifference = ((clientHeightWindow * 100)/  screen.height);
	
	function downloadProduct(installDir){
		if(installDir !=""){
			document.location.href=	installDir;
		}	
	}
	
	
	
	
	function printPage(){
		
		
		
		var sOptions = 'status=yes,menubar=yes,scrollbars=yes,resizable=yes,toolbar=yes,location=yes';
	   	sOptions = sOptions + ',width=' + (screen.availWidth ).toString();
	   	sOptions = sOptions + ',height=' + (screen.availHeight).toString();
	   	sOptions = sOptions + ',screenX=0,screenY=0,left=0,top=0';
	   	
	   	
	   	var IndexHash = window.location.href.indexOf("#");
	   	var newUrl = "";
	   	if(IndexHash !=-1){
	   		newUrl = window.location.href.substring(0,IndexHash ) + "?Print=true" + window.location.href.substring(IndexHash,window.location.href.length );
		}else{
			newUrl =window.location.href +  "?Print=true";
		}
		window.open(newUrl ,'',sOptions ); 

	}








	if(clientWidthWindow<800){ 
		document.write("<table width='" + LeftTableTagWidth  + "' height='125' border='0'  align='left' class='BasicTable' id='LeftImageTable' style='display:none'><tr><td width='" + LeftTableTagWidth  + "' id='LeftTableTag' valign='middle' align='center'>");
	}else{
		document.write("<table width='" + LeftTableTagWidth  + "' height='120'  border='0' align='left' class='BasicTable' id='LeftImageTable' style='display:none'><tr><td width='" + LeftTableTagWidth  + "' id='LeftTableTag' valign='middle' align='center'>");
	}
	
	document.write("<div id='LeftImageDiv' ><font id='Logo' onClick=\"downloadProduct('" + InstallExe + "')\"><img id='HeaderImg' src='" + PicPath + "' width='" + width + "' height='" + height + "' onmouseover=\"ddrivetip('" + ToolTip + "')\" onmouseout=\"hideddrivetip()\" ></font></div></td></tr></table>");
	
	
	if(LeftTableTagWidth >0){
		if (percentWidthDifference< 95){ 
			if(document.all){
				document.write("<table    border='0' class=BasicTable id='MiddleTable' width='" + (clientWidthWindow -LeftTableTagWidth )  + "' height='" + (height) + "' >");
			}else{
				document.write("<table    border='0' class=BasicTable id='MiddleTable' width='" + (clientWidthWindow -LeftTableTagWidth) + "' height='" + (height) + "' >");
			}
			if(clientWidthWindow <=800){
				//width  = (width *75)/100;
				//height  = (height * 75)/100;
				document.write("<tr><TD valign='middle' align=center >");
			}else{
				document.write("<tr><TD valign='middle' align=center >");

			}
			if (homeTool!= "" ){ 
				document.write("<A href='#' id='index' onClick=\"ChangeToProgress();showCursor();makeRequestHead('index.xml' );AlterHash('index.xml',50);\" class='OuterMenu' onmouseover=\"ddrivetip('" + homeTool + "')\" onmouseout=\"hideddrivetip()\">Home</A>&nbsp; &nbsp; ");
			}else{
				document.write("<A href='#' id='index' onClick=\"ChangeToProgress();showCursor();makeRequestHead('index.xml' );AlterHash('index.xml',50);\" class='OuterMenu'  >Home</A>&nbsp; &nbsp; ");
			}
			if (favTool != "" ){ 
				document.write("<A  onClick='AddFavorite()' onmousemove='statusFavorite()' onmouseout='statusNull();hideddrivetip()' class='OuterMenu' onmouseover=\"ddrivetip('" + favTool + "')\" >Add to Favorites</A>&nbsp; &nbsp; ");
			}else{
				document.write("<A  onClick='AddFavorite()' onmousemove='statusFavorite()' onmouseout='statusNull()' class='OuterMenu' >Add to Favorites</A>&nbsp; &nbsp; ");
			}
			if (printTool != "" ){ 
				document.write("<A href='#'  onClick=printPage() class='OuterMenu' onmouseover=\"ddrivetip('" + printTool + "')\" onmouseout=\"hideddrivetip()\">Print View</A>&nbsp; &nbsp; ");
			}else{
				document.write("<A href='#'  onClick=printPage() class='OuterMenu' >Print View</A>&nbsp; &nbsp; ");
			}		
			if (emailTool != "" ){ 
				document.write("<A href='javascript:void(window.location.search)' id=support onClick='javascript:getSupport(\"" + window.location.href + "  Webpage Header Inquiry\")' onmousemove='writeBottom(\" " + window.location.href + " Webpage Header Inquiry\")' onmouseout='statusNull();hideddrivetip()' class='OuterMenu' onmouseover=\"ddrivetip('" + emailTool + "')\" >Email</A>&nbsp; &nbsp; ");
			}else{
				document.write("<A href='javascript:void(window.location.search)' id=support onClick='javascript:getSupport(\"" + window.location.href + "  Webpage Header Inquiry\")' onmousemove='writeBottom(\" " + window.location.href + " Webpage Header Inquiry\")' onmouseout='statusNull();' class='OuterMenu'  >Email</A>&nbsp; &nbsp; ");
			}
			if (purchaseTool != "" ){ 
				document.write("<A href='#' id='payment' onClick=\"ChangeToProgress();showCursor();makeRequestHead('payment.xml' );AlterHash('payment.xml',50);\" class='OuterMenu' onmouseover=\"ddrivetip('" + purchaseTool + "')\" onmouseout=\"hideddrivetip()\">Purchase</A>");
			}else{
				document.write("<A href='#' id='payment' onClick=\"ChangeToProgress();showCursor();makeRequestHead('payment.xml' );AlterHash('payment.xml',50);\" class='OuterMenu' >Purchase</A>");
			}
			document.write("</td></tr>");
			document.write("<tr><TD valign='middle' align='center'  >");

			document.write(strHeaderTagTop + strHeaderTagBottom);		
			}else{	
			if(document.all){
				document.write("<table    border='0' class='BasicTable' id='MiddleTable' width='" + (clientWidthWindow -LeftTableTagWidth) + "' height='" + (height) + "' >");
			}else{
				document.write("<table    border='0' class='BasicTable' id='MiddleTable' width='" + (clientWidthWindow -LeftTableTagWidth) + "' height='" + (height) + "' >");
			}
			
			if(clientWidthWindow <=800){
				width  = (width *75)/100;
				height  = (height * 75)/100;
				document.write("<tr><TD valign='middle' align='center' >");

			}else{
				document.write("</td><TD valign='middle' align='center' >");
			}
			if (homeTool!= "" ){ 
				document.write("<A  href='#' id='index' onClick=\"showCursor();makeRequestHead('index.xml' );AlterHash('index.xml',50);\" class='OuterMenu' onmouseover=\"ddrivetip('" + homeTool + "')\" onmouseout=\"hideddrivetip()\">Home</A>&nbsp; &nbsp; ");
			}else{
				document.write("<A href='#' id='index' onClick=\"showCursor();makeRequestHead('index.xml' );AlterHash('index.xml',50);\" class='OuterMenu'  >Home</A>&nbsp; &nbsp; ");
			}
			if (favTool != "" ){ 
				document.write("<A onClick='AddFavorite()' onmousemove='statusFavorite()' onmouseout='statusNull();hideddrivetip()' class='OuterMenu' onmouseover=\"ddrivetip('" + favTool + "')\" >Add to Favorites</A>&nbsp; &nbsp; ");
			}else{
				document.write("<A onClick='AddFavorite()' onmousemove='statusFavorite()' onmouseout='statusNull()' class='OuterMenu' >Add to Favorites</A>&nbsp; &nbsp; ");
			}
			if (printTool != "" ){ 
				document.write("<A href='#'  onClick=printPage() class='OuterMenu' onmouseover=\"ddrivetip('" + printTool + "')\" onmouseout=\"hideddrivetip()\">Print View</A>&nbsp; &nbsp; ");
			}else{
				document.write("<A href='#'  onClick=printPage() class='OuterMenu' >Print View</A>&nbsp; &nbsp; ");
			}		
			if (emailTool != "" ){ 
				document.write("<A href='javascript:void(window.location.search)' id=support onClick='javascript:getSupport(\"" + window.location.href + "  Webpage Header Inquiry\")' onmousemove='writeBottom(\" " + window.location.href + " Webpage Header Inquiry\")' onmouseout='statusNull();hideddrivetip()' class='OuterMenu' onmouseover=\"ddrivetip('" + emailTool + "')\" >Email</A>&nbsp; &nbsp; ");
			}else{
				document.write("<A href='javascript:void(window.location.search)' id=support onClick='javascript:getSupport(\"" + window.location.href + "  Webpage Header Inquiry\")' onmousemove='writeBottom(\" " + window.location.href + " Webpage Header Inquiry\")' onmouseout='statusNull();' class='OuterMenu'  >Email</A>&nbsp; &nbsp; ");
			}
			if (purchaseTool != "" ){ 
				document.write("<A href='#' id='payment' onClick=\"showCursor();makeRequestHead('payment.xml' );AlterHash('payment.xml',50);\" class='OuterMenu' onmouseover=\"ddrivetip('" + purchaseTool + "')\" onmouseout=\"hideddrivetip()\">Purchase</A>");
			}else{
				document.write("<A href='#' id='payment' onClick=\"showCursor();makeRequestHead('payment.xml' );AlterHash('payment.xml',50);\" class='OuterMenu' >Purchase</A>");
				
			}			
			document.write("</td></tr>");
			document.write("<tr><TD valign=middle align=center>");

			document.write(strHeaderTagTop + strHeaderTagBottom);			

			
		}
	}else{
		
		if (percentWidthDifference< 95){ 
			if(document.all){
				document.write("<table    border='0' class=BasicTable id='MiddleTable' width='" + (clientWidthWindow -LeftTableTagWidth) + "' height='" + (height) + "' >");
			}else{
				document.write("<table    border='0' class=BasicTable id='MiddleTable' width='" + (clientWidthWindow -LeftTableTagWidth) + "' height='" + (height) + "' >");
			}
			document.write("<tr><TD valign='middle' align=center >");

			
			if (homeTool!= "" ){ 
				document.write("<A href='index.html' id='index' onClick=\"showCursor();makeRequestHead('index.xml' );AlterHash('index.xml',50);\" class='OuterMenu' onmouseover=\"ddrivetip('" + homeTool + "')\" onmouseout=\"hideddrivetip()\">Home</A>&nbsp; &nbsp; ");
			}else{
				document.write("<A href='index.html' id='index' onClick=\"showCursor();makeRequestHead('index.xml' );AlterHash('index.xml',50);\" class='OuterMenu'  >Home</A>&nbsp; &nbsp; ");
			}
			if (favTool != "" ){ 
				document.write("<A  onClick='AddFavorite()' onmousemove='statusFavorite()' onmouseout='statusNull();hideddrivetip()' class='OuterMenu' onmouseover=\"ddrivetip('" + favTool + "')\" >Add to Favorites</A>&nbsp; &nbsp; ");
			}else{
				document.write("<A  onClick='AddFavorite()' onmousemove='statusFavorite()' onmouseout='statusNull()' class='OuterMenu' >Add to Favorites</A>&nbsp; &nbsp; ");
			}
			if (emailTool != "" ){ 
				document.write("<A href='javascript:void(window.location.search)' id=support onClick='javascript:getSupport(\"" + window.location.href + "  Webpage Header Inquiry\")' onmousemove='writeBottom(\" " + window.location.href + " Webpage Header Inquiry\")' onmouseout='statusNull();hideddrivetip()' class='OuterMenu' onmouseover=\"ddrivetip('" + emailTool + "')\" >Email</A>&nbsp; &nbsp; ");
			}else{
				document.write("<A href='javascript:void(window.location.search)' id=support onClick='javascript:getSupport(\"" + window.location.href + "  Webpage Header Inquiry\")' onmousemove='writeBottom(\" " + window.location.href + " Webpage Header Inquiry\")' onmouseout='statusNull();' class='OuterMenu'  >Email</A>&nbsp; &nbsp; ");
			}
			if (purchaseTool != "" ){ 
				document.write("<A href='#' id='payment' onClick=\"showCursor();makeRequestHead('payment.xml' );AlterHash('payment.xml',50);\" class='OuterMenu' onmouseover=\"ddrivetip('" + purchaseTool + "')\" onmouseout=\"hideddrivetip()\">Purchase</A>");
			}else{
				document.write("<A href='#' id='payment' onClick=\"showCursor();makeRequestHead('payment.xml' );AlterHash('payment.xml',50);\" class='OuterMenu' >Purchase</A>");
			}			
			document.write(strHeaderTagTop + strHeaderTagBottom);		
		}else{	
			if(document.all){
				document.write("<table    border='0' class=BasicTable id='MiddleTable' width='" + (clientWidthWindow -LeftTableTagWidth) + "' height='" + (height) + "' >");
			}else{
				document.write("<table   border='0' class=BasicTable id='MiddleTable' width='" + (clientWidthWindow -LeftTableTagWidth) + "' height='" + (height) + "' >");
			}
			document.write("<tr><TD valign='middle' align=center >");

			
			if (homeTool!= "" ){ 
				document.write("<A href='index.html' id='index' onClick=\"showCursor();makeRequestHead('index.xml' );AlterHash('index.xml',50);\" class='OuterMenu' onmouseover=\"ddrivetip('" + homeTool + "')\" onmouseout=\"hideddrivetip()\">Home</A>&nbsp; &nbsp; ");
			}else{
				document.write("<A href='index.html' id='index' onClick=\"showCursor();makeRequestHead('index.xml' );AlterHash('index.xml',50);\" class='OuterMenu'  >Home</A>&nbsp; &nbsp; ");
			}
			if (favTool != "" ){ 
				document.write("<A  onClick='AddFavorite()' onmousemove='statusFavorite()' onmouseout='statusNull();hideddrivetip()' class='OuterMenu' onmouseover=\"ddrivetip('" + favTool + "')\" >Add to Favorites</A>&nbsp; &nbsp; ");
			}else{
				document.write("<A  onClick='AddFavorite()' onmousemove='statusFavorite()' onmouseout='statusNull()' class='OuterMenu' >Add to Favorites</A>&nbsp; &nbsp; ");
			}
			if (emailTool != "" ){ 
				document.write("<A href='javascript:void(window.location.search)' id=support onClick='javascript:getSupport(\"" + window.location.href + "  Webpage Header Inquiry\")' onmousemove='writeBottom(\" " + window.location.href + " Webpage Header Inquiry\")' onmouseout='statusNull();hideddrivetip()' class='OuterMenu' onmouseover=\"ddrivetip('" + emailTool + "')\" >Email</A>&nbsp; &nbsp; ");
			}else{
				document.write("<A href='javascript:void(window.location.search)' id=support onClick='javascript:getSupport(\"" + window.location.href + "  Webpage Header Inquiry\")' onmousemove='writeBottom(\" " + window.location.href + " Webpage Header Inquiry\")' onmouseout='statusNull();' class='OuterMenu'  >Email</A>&nbsp; &nbsp; ");
			}
			if (purchaseTool != "" ){ 
				document.write("<A href='#' id='payment' onClick=\"showCursor();makeRequestHead('payment.xml' );AlterHash('payment.xml',50);\" class='OuterMenu' onmouseover=\"ddrivetip('" + purchaseTool + "')\" onmouseout=\"hideddrivetip()\">Purchase</A>");
			}else{
				document.write("<A href='#' id='payment' onClick=\"showCursor();makeRequestHead('payment.xml' );AlterHash('payment.xml',50);\" class='OuterMenu' >Purchase</A>");
			}	
			

			document.write("</td></tr>");
			document.write("<tr><TD valign=middle align=center>");

					
			document.write(strHeaderTagTop + strHeaderTagBottom);			
		}
	
	}
	
	
	
	
	
	if (percentWidthDifference< 95){ 
	}else{
		//document.write("<br><font class=RedTextSmall>&nbsp;");
	}
	
	
	document.write("</td></tr></table>");
	
	
	
	
		
	function ChangeToProgress(){
		document.getElementById("breakreminder").style.cursor = "progress";
		document.getElementById("mathsown").style.cursor = "progress";
		document.getElementById("timesown").style.cursor = "progress";
		document.getElementById("timesownpro").style.cursor = "progress";
		document.getElementById("payment").style.cursor = "progress";
		document.getElementById("index").style.cursor = "progress";
		document.getElementById("mp3detective").style.cursor = "progress";
		document.getElementById("clipboard").style.cursor = "progress";
	}
	 
 	

	
	if(document.all){}else{
		document.write("<center>");
	}
	
	
	
	if(clientWidthWindow<800){ 
		str = "</TD><TD vAlign=center align=left bgColor=#3399FF class=paddingLeft height='2'>";
		str2 = "</TD><TD vAlign=center align=left bgColor=#3399FF class=paddingRight height='2'>";
	}else{
		str = "</TD><TD vAlign=center align=left bgColor=#3399FF  class=paddingLeft height='20'>";
		str2 = "</TD><TD vAlign=center align=left bgColor=#3399FF  class=paddingRight height='20'>";
	}
	
	
	
	
	
	function showCursor()
	{
		window.document.body.style.cursor = "wait";
	}

	
	
	
	if(clientWidthWindow<875 && clientWidthWindow> 800 ){
		document.write("<TABLE    cellspacing=0 cellpadding=0    border='0'  align=center id=MenuTable><TBODY><TR><TD id='MenuTableTD' vAlign=center align=left bgColor=#3399FF class=paddingLeft height='20'>");
	}else{
		if(clientWidthWindow<800){ 
			if(clientWidthWindow<675  ){
				document.write("<TABLE   cellspacing=0 cellpadding=0      border='0'  align=center id=MenuTable><TBODY><TR><TD  id='MenuTableTD' vAlign=center align=left  class=paddingLeft bgColor=#3399FF height='2'>");
			}else{
				document.write("<TABLE cellspacing=0 cellpadding=0     border='0'  align=center id=MenuTable><TBODY><TR></td><TD  id='MenuTableTD' vAlign=center align=left  class=paddingLeft bgColor=#3399FF height='2'>");
			}
		}else{
			document.write("<TABLE    cellspacing=0 cellpadding=0     border='0'  align=center id=MenuTable><TBODY><TR><TD  id='MenuTableTD' vAlign=center align=left  bgColor=#3399FF class=paddingLeft height='20' >");
		}
	}
	

	if(breakTool != ""){
		document.write("<font  id=\"breakreminder\" onClick=\"ChangeToProgress();makeRequestHead('break.xml');showCursor();removeHash();AlterHash('break.xml',50);;setCookie('Hash','');\" onmouseover=\"javascript:this.className='WhiteNoUnderlineLightBlue';ddrivetip('" + breakTool + "');return true;\"  onmouseout=\"this.className='WhiteNoUnderlineDarkBlue';hideddrivetip()\" class=WhiteNoUnderlineDarkBlue align='center'>&nbsp;&nbsp;Break&nbsp;Reminder&nbsp;&nbsp;</font>");
	}else{
		document.write("<font id=\"breakreminder\"  onClick=\"ChangeToProgress();makeRequestHead('break.xml');showCursor();removeHash();AlterHash('break.xml',50);;setCookie('Hash','');\" onmouseover=\"javascript:this.className='WhiteNoUnderlineLightBlue';return true;\"  onmouseout=\"this.className='WhiteNoUnderlineDarkBlue';\" class=WhiteNoUnderlineDarkBlue align='center'>&nbsp;&nbsp;Break&nbsp;Reminder&nbsp;&nbsp;</font>");
	}
	document.write(str );
	
	if(clipTool != ""){
		document.write("<font  id=\"clipboard\" onClick=\"ChangeToProgress();makeRequestHead('clipboard.xml');showCursor();removeHash();AlterHash('clipboard.xml',50);;setCookie('Hash','');\"  onmouseover=\"javascript:this.className='WhiteNoUnderlineLightBlue';ddrivetip('" + clipTool + "');return true;\"  onmouseout=\"this.className='WhiteNoUnderlineDarkBlue';hideddrivetip()\"  class=WhiteNoUnderlineDarkBlue align='center'>&nbsp;&nbsp;Clipboard&nbsp;Express&nbsp;Pro&nbsp;&nbsp;</font>");
	}else{
		document.write("<font  id=\"clipboard\" onClick=\"ChangeToProgress();makeRequestHead('clipboard.xml');showCursor();removeHash();AlterHash('clipboard.xml',50);;setCookie('Hash','');\"  onmouseover=\"javascript:this.className='WhiteNoUnderlineLightBlue';return true;\"  onmouseout=\"this.className='WhiteNoUnderlineDarkBlue';\"  class=WhiteNoUnderlineDarkBlue align='center'>&nbsp;&nbsp;Clipboard&nbsp;Express&nbsp;Pro&nbsp;&nbsp;</font>");
	}
	document.write(str );
	
	if(mathTool != ""){
		document.write("<font   id=\"mathsown\"   onClick=\"ChangeToProgress();makeRequestHead('mathsown.xml');showCursor();removeHash();AlterHash('mathsown.xml',50);;setCookie('Hash','');\" onmouseover=\"javascript:this.className='WhiteNoUnderlineLightBlue';ddrivetip('" + mathTool + "');return true;\"  onmouseout=\"this.className='WhiteNoUnderlineDarkBlue';hideddrivetip()\"  class=WhiteNoUnderlineDarkBlue align='center'>&nbsp;&nbsp;MathsOwn&nbsp;&nbsp;</font>");
	}else{
		document.write("<font  id=\"mathsown\"    onClick=\"ChangeToProgress();makeRequestHead('mathsown.xml');showCursor();removeHash();AlterHash('mathsown.xml',50);;setCookie('Hash','');\" onmouseover=\"javascript:this.className='WhiteNoUnderlineLightBlue';return true;\"  onmouseout=\"this.className='WhiteNoUnderlineDarkBlue';\"  class=WhiteNoUnderlineDarkBlue align='center'>&nbsp;&nbsp;MathsOwn&nbsp;&nbsp;</font>");
	}
	document.write(str );
	
	if(mp3Tool != ""){
		document.write("<font  id=\"mp3detective\" onClick=\"ChangeToProgress();makeRequestHead('mp3detective.xml');showCursor();removeHash();AlterHash('mp3detective.xml',50);;setCookie('Hash','');\" onmouseover=\"javascript:this.className='WhiteNoUnderlineLightBlue';ddrivetip('" + mp3Tool + "');return true;\"  onmouseout=\"this.className='WhiteNoUnderlineDarkBlue';hideddrivetip()\"  class=WhiteNoUnderlineDarkBlue align='center'>&nbsp;&nbsp;MP3Detective&nbsp;&nbsp;</font>");
	}else{
		document.write("<font  id=\"mp3detective\" onClick=\"ChangeToProgress();makeRequestHead('mp3detective.xml');showCursor();removeHash();AlterHash('mp3detective.xml',50);;setCookie('Hash','');\" onmouseover=\"javascript:this.className='WhiteNoUnderlineLightBlue';return true;\"  onmouseout=\"this.className='WhiteNoUnderlineDarkBlue';\"  class=WhiteNoUnderlineDarkBlue align='center'>&nbsp;&nbsp;MP3Detective&nbsp;&nbsp;</font>");
	}
	document.write(str );
	
	if(timeTool != ""){
		document.write("<font  id=\"timesown\" onClick=\"ChangeToProgress();makeRequestHead('timesown.xml');showCursor();removeHash();AlterHash('timesown.xml',50);;setCookie('Hash','');\" onmouseover=\"javascript:this.className='WhiteNoUnderlineLightBlue';ddrivetip('" + timeTool + "');return true;\"  onmouseout=\"this.className='WhiteNoUnderlineDarkBlue';hideddrivetip()\"  class=WhiteNoUnderlineDarkBlue align='center'>&nbsp;&nbsp;TimesOwn&nbsp;&nbsp;</font>");
	}else{
		document.write("<font  id=\"timesown\" onClick=\"ChangeToProgress();makeRequestHead('timesown.xml');showCursor();removeHash();AlterHash('timesown.xml',50);;setCookie('Hash','');\" onmouseover=\"javascript:this.className='WhiteNoUnderlineLightBlue';return true;\"  onmouseout=\"this.className='WhiteNoUnderlineDarkBlue';\"  class=WhiteNoUnderlineDarkBlue align='center'>&nbsp;&nbsp;TimesOwn&nbsp;&nbsp;</font>");
	}
	document.write(str2 );
	
	if(timeProTool != ""){
		document.write("<font  id=\"timesownpro\" onClick=\"ChangeToProgress();makeRequestHead('timesownpro.xml');showCursor();removeHash();AlterHash('timesownpro.xml',50);;setCookie('Hash','');\" onmouseover=\"javascript:this.className='WhiteNoUnderlineLightBlue';ddrivetip('" + timeProTool + "');return true;\"  onmouseout=\"this.className='WhiteNoUnderlineDarkBlue';hideddrivetip()\"  class=WhiteNoUnderlineDarkBlue align='center'>&nbsp;&nbsp;TimesOwn&nbsp;Pro&nbsp;&nbsp;</font>");
	}else{
		document.write("<font id=\"timesownpro\" onClick=\"ChangeToProgress();makeRequestHead('timesownpro.xml');showCursor();removeHash();AlterHash('timesownpro.xml',50);;setCookie('Hash','');\" onmouseover=\"javascript:this.className='WhiteNoUnderlineLightBlue';return true;\"  onmouseout=\"this.className='WhiteNoUnderlineDarkBlue';\"  class=WhiteNoUnderlineDarkBlue align='center'>&nbsp;&nbsp;TimesOwn&nbsp;Pro&nbsp;&nbsp;</font>");
	}	
	document.write("</TD></TR ></TBODY></TABLE>");
	
	if(document.all){}else{
	document.write("</center>");
	}
	
	
	
	
	
	
	

	
}








	var bSetWidth = false;

	function CheckWidthMenuFireFox(){
	    if(!document.all){
	    	document.getElementById("MiddleTable").style.display="";
			document.getElementById("LeftImageTable").style.display="";
			if( document.getElementById("MenuTableTD").offsetLeft <=0){
				bSetWidth=true;
				document.getElementById("LeftImageTable").style.display="none";
			}
		}
	}		










function javascriptHideShow(){
		//blocking("AlternateEmail");
		//blocking("AlternateSkype");
		//blocking("AlternateVOIP");
		blocking("ShowAlt");
		//blocking("AlternatePhone");
		
		//ShowAlt
		
		if (document.layers)
		{
			if(document.layers["ShowAlt"].display == 'none' || document.layers["ShowAlt"].display==""){
				document.layers["HideShow"].value="Show Alternative Contact Means";
			}else{
				document.layers["HideShow"].value="Hide Alternative Contact Means";
			}
		}
		else if (document.all)
		{
			if (document.all["ShowAlt"].style.display == 'none' || document.all["ShowAlt"].style.display==""){
				document.all["HideShow"].value="Show Alternative Contact Means";
			}else{
				document.all["HideShow"].value="Hide Alternative Contact Means";
			}
		}
		else if (document.getElementById)
		{
			if (document.getElementById("ShowAlt").style.display == 'none' || document.getElementById("ShowAlt").style.display==""){
				document.getElementById("HideShow").value="Show Alternative Contact Means";
			}else{
	
				document.getElementById("HideShow").value="Hide Alternative Contact Means";
			}
		}
	}
	

function checkemail(str){
var testresults;
var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
if (filter.test(str))
	testresults=true
else{
	testresults=false
}
	return (testresults)
}


function check_FeedBackdetails() {

	var msg = "";
	var space = "\t => ";
	var header = "The following information is required, please enter:\n";
	var footer = "Thank you for your assistance.";
		if (document.Form1.realname.value == "") 
			msg+= space + "Your name\n";
		if(checkemail(document.Form1.email.value)==false && document.Form1.email.value != ""){
			msg+= space + "A valid e mail address\n"
			}
		if (document.Form1.email.value == "") 
            msg+= space + "Your e mail address\n"
   	    if (document.Form1.Comments.value == "") 
            msg+= space + "Your comments!\n"
       		putTogether(splitLetters);
			document.Form1.recipient.value =lettersPutTogether  ;
			
			document.Form1.Screen.value=screen.width + " x " + screen.height ;
			document.Form1.Window.value = clientWidthWindow + " x " + clientHeightWindow;

        if(msg!=""){
        	alert(header + msg + footer);
        	msg="";
        	return false;
		}
}

	
	
	// A function to check if fields were entered
	var msg = "";
	var header = "The following information is required, please enter:\n";
	var space = "\t => ";
	var footer = "Thank you for your assistance.";
	var lettersPutTogether = "";
	function check_details() {
			if (document.FrontPage_Form1.Invoice.value == "" )
				msg+= space + "Your order number (from the payment invoice)\n";
			if (document.FrontPage_Form1.Licensee.value == "")
				msg+= space + "Your preferred Licensee name\n";
			if (document.FrontPage_Form1.email.value == "" )
				msg+= space + "Your e mail address\n";
			if(checkemail(document.FrontPage_Form1.email.value)==false && document.FrontPage_Form1.email.value != ""){
				msg+= space + "A valid e mail address\n"
			}
			//if (document.FrontPage_Form1.Email2.value == "(Email address please - from a different domain as alternative contact - if not available please enter N/A)...") 
			//	msg+= space + "Contact Email #2 address for an alternative domain. If not available please type in N/A\n";
		
		if(msg!=""){
        	alert(header + msg + footer);
        	msg="";
        	return false;
		}else{
			lettersPutTogether  ='';
			for(var y=0;y<splitLetters.length;y++){
    			lettersPutTogether += splitLetters[y];
    		}
    
    		//document.FrontPage_Form1.realname.value = document.FrontPage_Form1.First_Name.value + " " + document.FrontPage_Form1.Surname.value;
            document.FrontPage_Form1.realname.value = document.FrontPage_Form1.Licensee.value;
    		document.FrontPage_Form1.recipient.value = lettersPutTogether; 
    		//if (document.FrontPage_Form1.Sex.options[document.FrontPage_Form1.Sex.selectedIndex].text=="Please select..."){
    		//	document.FrontPage_Form1.Sex.options[document.FrontPage_Form1.Sex.selectedIndex].value = "";
    		//}
    		//if (document.FrontPage_Form1.AgeBand.options[document.FrontPage_Form1.AgeBand.selectedIndex].text == "Please select..."){
    		//	document.FrontPage_Form1.AgeBand.options[document.FrontPage_Form1.AgeBand.selectedIndex].value = "";
    		//}  	
    		//if (document.FrontPage_Form1.Where_did_you_Hear_About_Us0.options[document.FrontPage_Form1.Where_did_you_Hear_About_Us0.selectedIndex].text == "Please advise..."){
    		//	document.FrontPage_Form1.Where_did_you_Hear_About_Us0.options[document.FrontPage_Form1.Where_did_you_Hear_About_Us0.selectedIndex].value = "";
    		//}  	
			if(document.FrontPage_Form1.DontSendScreen.checked == false){
				document.FrontPage_Form1.Screen.value=screen.width + " x " + screen.height ;
				document.FrontPage_Form1.Window.value = clientWidthWindow + " x " + clientHeightWindow;
			}else{
				document.FrontPage_Form1.Screen.value="" ;
				document.FrontPage_Form1.Window.value = "";

			}
			
			var returnTrue = false;
	

			
   			return true;
		} 
	}


	function QueryString_Parse()
	{
		var query = window.location.search.substring(1);
		var pairs = query.split("&");
		for (var i=0;i<pairs.length;i++)
		{
			var pos = pairs[i].indexOf('=');
			if (pos >= 0)
			{
				var argname = pairs[i].substring(0,pos);
				var value = pairs[i].substring(pos+1);
				QueryString.keys[QueryString.keys.length] = argname;
				QueryString.values[QueryString.values.length] = value;		
			}
		}
	}




	function visi(nr)
	{
		if (document.layers)
		{
			vista = (document.layers[nr].visibility == 'hide') ? 'show' : 'hide'
			document.layers[nr].visibility = vista;
		}
		else if (document.all)
		{
			vista = (document.all[nr].style.visibility == 'hidden') ? 'visible'	: 'hidden';
			document.all[nr].style.visibility = vista;
		}
		else if (document.getElementById)
		{
			vista = (document.getElementById(nr).style.visibility == 'hidden') ? 'visible' : 'hidden';
			document.getElementById(nr).style.visibility = vista;
	
		}
	}
	function blocking(nr)
	{
		if (document.layers)
		{
			current = (document.layers[nr].display == 'none') ? 'block' : 'none';
			document.layers[nr].display = current;
		}
		else if (document.all)
		{
			current = (document.all[nr].style.display == 'none') ? 'block' : 'none';
			document.all[nr].style.display = current;
		}
		else if (document.getElementById)
		{
			vista = (document.getElementById(nr).style.display == 'none') ? 'block' : 'none';
			document.getElementById(nr).style.display = vista;
		}
	}
	
	function QueryString(key)
	{
		var value = null;
		for (var i=0;i<QueryString.keys.length;i++)
		{
			if (QueryString.keys[i]==key)
			{
				value = QueryString.values[i];
				break;
			}
		}
		return value;
	}