<!--
 
var win = null;

var browser=false;
if(document.images)
browser=true;

if (browser){
var object=new Array();


object['examplez']= new objectdata(50,20,RelativePath+"images/how2.gif",RelativePath+"images/how.gif","Howe-Two reach your students using technology.");


object['example']= new objectdata(500,150,RelativePath+"images/how2sof.gif",RelativePath+"images/howsof.gif","Howe-Two reach your students using technology.");
object['exabout']= new objectdata(100,97,RelativePath+"images/animabt.gif",RelativePath+"images/about.gif","About Howe-Two Software.");
object['exother']= new objectdata(100,97,RelativePath+"images/animothr.gif",RelativePath+"images/other.gif","Other Schools and Students Using Howe-Two Software.");
object['exlink']= new objectdata(100,97,RelativePath+"images/animlink.gif",RelativePath+"images/link.gif","Great Math Links for Students and Teachers!");
object['exfree']= new objectdata(100,97,RelativePath+"images/animfree.gif",RelativePath+"images/free.gif","Free downloads from Howe-Two Software.");
object['extitle']= new objectdata(100,97,RelativePath+"images/animttls.gif",RelativePath+"images/title.gif","Available Titles from Howe-Two Software.");
object['exorder']= new objectdata(100,97,RelativePath+"images/animord.gif",RelativePath+"images/order.gif","Order form for Howe-Two Software.");


object['texabout']= new objectdata(106,40,RelativePath+"images/tabout1.gif",RelativePath+"images/tabout2.gif","About Howe-Two Software.");
object['texother']= new objectdata(106,40,RelativePath+"images/tother1.gif",RelativePath+"images/tother2.gif","Other Schools and Students Using Howe-Two Software.");
object['texlink']= new objectdata(106,40,RelativePath+"images/tmath1.gif",RelativePath+"images/tmath2.gif","Great Math Links for Students and Teachers!");
object['texfree']= new objectdata(106,40,RelativePath+"images/tfree1.gif",RelativePath+"images/tfree2.gif","Free downloads from Howe-Two Software.");
object['textitle']= new objectdata(106,40,RelativePath+"images/ttitles1.gif",RelativePath+"images/ttitles2.gif","Available Titles from Howe-Two Software.");
object['texorder']= new objectdata(106,40,RelativePath+"images/torder1.gif",RelativePath+"images/torder2.gif","Order form for Howe-Two Software.");

object['example1']= new objectdata(50,20,RelativePath+"images/how2.gif",RelativePath+"images/how.gif","Howe-Two reach your students using technology.");
object['example2']= new objectdata(50,20,RelativePath+"images/how2.gif",RelativePath+"images/how.gif","Howe-Two reach your students using technology.");
object['example3']= new objectdata(50,20,RelativePath+"images/how2.gif",RelativePath+"images/how.gif","Howe-Two reach your students using technology.");
object['example4']= new objectdata(50,20,RelativePath+"images/how2.gif",RelativePath+"images/how.gif","Howe-Two reach your students using technology.");
object['example5']= new objectdata(50,20,RelativePath+"images/how2.gif",RelativePath+"images/how.gif","Howe-Two reach your students using technology.");


// add more objects above this line
}

function objectdata(hsize,vsize,replaceimg,restoreimg,mess)
{if(browser) 
{                this.mess=mess;
                 this.simg=new Image(hsize,vsize);
                 this.simg.src=replaceimg;
                 this.rimg=new Image(hsize,vsize);
                 this.rimg.src=restoreimg;                                                                                        }}

function ReplaceOrig(name)
{if(browser) 
{window.status=object[name].mess;
document[name].src=object[name].simg.src;}} 

function RestoreOrig(name)
{if(browser) 
{window.status="";
document[name].src=object[name].rimg.src;}} 


function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}


function alertText(myinfo,myname,w,h,scroll){
var win = null;
var winh = h-50;
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings = 'height='+winh+',width='+w+',top='+TopPosition+',left='+LeftPosition+',menubar=1,toolbar=1,scrollbars='+scroll+',resizable'
win = window.open("",myname,settings);
win.document.write(myinfo)
win.document.close()

}

function alertU(mypage,myname,w,h,scroll){
var win = null;
var winh = h-50;
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings = 'height='+winh+',width='+w+',top='+TopPosition+',left='+LeftPosition+',menubar=1,toolbar=1,scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings);
}



function RequestForm(Variable) {
var locate = window.location;
var text = ''+locate;
var ReturnVariable = '';
var VariableList = new Array();

if (text.indexOf('?')==-1) return ReturnVariable;
else {
text = text.substr(text.indexOf('?')+1,text.length)

if (text.indexOf('&')==-1) VariableList[0] = text
else VariableList = text.split('&')

for (i in VariableList) {
if (Variable == VariableList[i].substr(0,VariableList[i].indexOf('='))) ReturnVariable = VariableList[i].substr(eval(VariableList[i].indexOf('=')+1),VariableList[i].length)
}

while (ReturnVariable.indexOf('+')!=-1) ReturnVariable=ReturnVariable.replace('+',' ');
ReturnVariable = unescape(ReturnVariable)

return ReturnVariable;
}}


function popupMessage(vTO,vCC,vBC,vSUBJECT,vBODY) {
var ConChar = "?"
var to = vTO;
var cc = vCC;
var bcc = vBC;
var subject = vSUBJECT;
var body = vBODY

var doc = "mailto:" + escape(to)
if (cc!="" && cc!="No Supervisor on File.")      {doc += ConChar + "cc="      + escape(cc);      ConChar = "&amp;"; }
if (bcc!="")     {doc += ConChar + "bcc="     + escape(bcc);     ConChar = "&amp;"; }
if (subject!="") {doc += ConChar + "subject=" + escape(subject); ConChar = "&amp;"; }
if (body!="")    {doc += ConChar + "body="    + escape(body);    ConChar = "&amp;"; }

window.location = doc;}


function LengthLimit(txtInput, txtCount, CharacterLimit) {
  if (txtInput.value.length > CharacterLimit) {
           txtInput.value = txtInput.value.substring(0, CharacterLimit);  }
  else {   txtCount.value = CharacterLimit - txtInput.value.length; }  }

function GetCookie(CookieName) {
   var CookieValue = document.cookie;
   var CookieStartsAt = CookieValue.indexOf(' ' + CookieName + '=');

   if (CookieStartsAt == -1) CookieStartsAt = CookieValue.indexOf(CookieName + '=');
   if (CookieStartsAt == -1) CookieValue = null;
   else {
      CookieStartsAt = CookieValue.indexOf('=', CookieStartsAt) + 1;
      var CookieEndsAt = CookieValue.indexOf(';', CookieStartsAt);
      if (CookieEndsAt == -1) CookieEndsAt = CookieValue.length;
      CookieValue = unescape(CookieValue.substring(CookieStartsAt,CookieEndsAt)); }

   if (CookieValue == null) CookieValue = '';  
   return CookieValue; }

function SetCookie(CookieName, CookieValue) {
//Example: SetCookie('NOVELLID',main.NovelID.value);
//see also GetCookie
   CookieValue = escape(CookieValue);

   var expireDate = new Date(); 
   expireDate.setMonth(expireDate.getMonth() + 6);
   var CookieExpires = expireDate.toGMTString(); 

   document.cookie = CookieName + '=' + CookieValue + ';expires=' + CookieExpires; }


function ClipBoard(copytextx) {
copymain.holdtext.innerText = copytextx.innerText;
alert(copymain.holdtext.value+"\n\nCopied."); 
Copied = copymain.holdtext.createTextRange();
Copied.execCommand("Copy"); }

function FooterCopyText(copytextx) {
footercopymain.footerholdtext.innerText = copytextx;
alert(footercopymain.footerholdtext.value+"\n\nCopied."); 
Copied = footercopymain.footerholdtext.createTextRange();
Copied.execCommand("Copy"); }

function vLookUp(theValue,theArray,searchColumn,findColumn){
var Result="";
for (i in theArray) { if (theArray[i][searchColumn]==theValue) Result=theArray[i][findColumn]; }
return Result;}

function WriteButtons(SU,SL,Item,PC){
var Results="<p style=text-align:center><br>\n"
if (SL!="") {
Results+="<input type='button' value='Single User $"+SU+"' border='0' name='btnAll1' onclick='main"+PC+"SU.submit();' style=width:23%>\n"
        +"<input type='button' value='Site License $"+SL+"' border='0' name='btnAll2' onclick='main"+PC+"SL.submit();' style=width:23%>\n" }
else {
Results+="<input type='button' value='"+Item+" $"+SU+"' border='0' name='btnAll1' onclick='main"+PC+"SU.submit();' style=width:23%>\n" }

Results+="<input type='button' value='View Cart' border='0' name='btnSubmit' onclick='main"+PC+"cart.submit()' style=width:23%></p>\n"

if (SL!="") {
Results+="<form name=main"+PC+"SU style='margin:0px;;' target='paypal' action='https://www.paypal.com/cgi-bin/webscr' method='post'>\n"
+"<input type='hidden' name='add' value='1'>\n"
+"<input type='hidden' name='cmd' value='_cart'>\n"
+"<input type='hidden' name='business' value='elisabeth@howe-two.com'>\n"
+"<input type='hidden' name='item_name' value='"+Item+"-Single User'>\n"
+"<input type='hidden' name='item_number' value='"+PC+"-SU'>\n"
+"<input type='hidden' name='amount' value='"+SU+"'>\n"
+"<input type='hidden' name='shipping' value='5.00'>\n"
+"<input type='hidden' name='page_style' value='Primary'>\n"
+"<input type='hidden' name='no_shipping' value='2'>\n"
+"<input type='hidden' name='return' value='http://www.howe-two.com/order/thanks.html'>\n"
+"<input type='hidden' name='cancel_return' value='http://www.howe-two.com/order/cancel.html'>\n"
+"<input type='hidden' name='cn' value='Comments'>\n"
+"<input type='hidden' name='currency_code' value='USD'>\n"
+"<input type='hidden' name='lc' value='US'>\n"
+"<input type='hidden' name='bn' value='PP-ShopCartBF'>\n"
+"</form>\n"
+"<form name=main"+PC+"SL style='margin:0px;;' target='paypal' action='https://www.paypal.com/cgi-bin/webscr' method='post'>\n"
+"<input type='hidden' name='add' value='1'>\n"
+"<input type='hidden' name='cmd' value='_cart'>\n"
+"<input type='hidden' name='business' value='elisabeth@howe-two.com'>\n"
+"<input type='hidden' name='item_name' value='"+Item+"-Site License'>\n"
+"<input type='hidden' name='item_number' value='"+PC+"-SL'>\n"
+"<input type='hidden' name='amount' value='"+SL+"'>\n"
+"<input type='hidden' name='shipping' value='5.00'>\n"
+"<input type='hidden' name='page_style' value='Primary'>\n"
+"<input type='hidden' name='no_shipping' value='2'>\n"
+"<input type='hidden' name='return' value='http://www.howe-two.com/order/thanks.html'>\n"
+"<input type='hidden' name='cancel_return' value='http://www.howe-two.com/order/cancel.html'>\n"
+"<input type='hidden' name='cn' value='Comments'>\n"
+"<input type='hidden' name='currency_code' value='USD'>\n"
+"<input type='hidden' name='lc' value='US'>\n"
+"<input type='hidden' name='bn' value='PP-ShopCartBF'>\n"
+"</form>\n"}

else {
Results+="<form name=main"+PC+"SU style='margin:0px;;' target='paypal' action='https://www.paypal.com/cgi-bin/webscr' method='post'>\n"
+"<input type='hidden' name='add' value='1'>\n"
+"<input type='hidden' name='cmd' value='_cart'>\n"
+"<input type='hidden' name='business' value='elisabeth@howe-two.com'>\n"
+"<input type='hidden' name='item_name' value='"+Item+"'>\n"
+"<input type='hidden' name='item_number' value='"+PC+"'>\n"
+"<input type='hidden' name='amount' value='"+SU+"'>\n"
+"<input type='hidden' name='shipping' value='5.00'>\n"
+"<input type='hidden' name='page_style' value='Primary'>\n"
+"<input type='hidden' name='no_shipping' value='2'>\n"
+"<input type='hidden' name='return' value='http://www.howe-two.com/order/thanks.html'>\n"
+"<input type='hidden' name='cancel_return' value='http://www.howe-two.com/order/cancel.html'>\n"
+"<input type='hidden' name='cn' value='Comments'>\n"
+"<input type='hidden' name='currency_code' value='USD'>\n"
+"<input type='hidden' name='lc' value='US'>\n"
+"<input type='hidden' name='bn' value='PP-ShopCartBF'>\n"
+"</form>\n" }

Results+="<form name=main"+PC+"cart target='paypal' action='https://www.paypal.com/cgi-bin/webscr' method='post'>\n"
+"<input type='hidden' name='cmd' value='_cart'>\n"
+"<input type='hidden' name='business' value='elisabeth@howe-two.com'>\n"
+"<input type='hidden' name='display' value='1'>\n"
+"<input type='hidden' name='page_style' value='PayPal'>\n"
+"</form>\n"

document.write(Results)}



function WriteButtonsForOne(Item,PC){
var Results="<p style='text-align:center;font-style:italic;'><br>All programs can be purchased individually for <b>$10</b> each.<br>\n"
+"A single user license is available for <b>$250</b> (<b>for more than 200 programs</b>).<br>\n"
+"A site license is available for <b>$1500</b><br>(for more than 200 programs to be used on <b>ALL</b> machines at your school).</p>\n"
+"<p style=text-align:center><br>\n"
+"<input type='button' value='Add to Cart $10.00' border='0' name='btnItem' onclick='main"+PC+"Item.submit();' style=width:23%>\n"
+"<input type='button' value='More Options...' border='0' name='btnSubmitMore' onclick=\"location.href='"+RelativePath+"order/Order_Form.html';\"> "
+"<input type='button' value='View Cart' border='0' name='btnSubmit' onclick='main"+PC+"cart.submit()' style=width:23%></p>\n"
+"<form name=main"+PC+"Item style='margin:0px;' target='paypal' action='https://www.paypal.com/cgi-bin/webscr' method='post'>\n"
+"<input type='hidden' name='add' value='1'>\n"
+"<input type='hidden' name='cmd' value='_cart'>\n"
+"<input type='hidden' name='business' value='elisabeth@howe-two.com'>\n"
+"<input type='hidden' name='item_name' value='"+Item+"'>\n"
+"<input type='hidden' name='item_number' value='"+PC+"'>\n"
+"<input type='hidden' name='amount' value='10.00'>\n"
+"<input type='hidden' name='shipping' value='5.00'>\n"
+"<input type='hidden' name='page_style' value='Primary'>\n"
+"<input type='hidden' name='no_shipping' value='2'>\n"
+"<input type='hidden' name='return' value='http://www.howe-two.com/order/thanks.html'>\n"
+"<input type='hidden' name='cancel_return' value='http://www.howe-two.com/order/cancel.html'>\n"
+"<input type='hidden' name='cn' value='Comments'>\n"
+"<input type='hidden' name='currency_code' value='USD'>\n"
+"<input type='hidden' name='lc' value='US'>\n"
+"<input type='hidden' name='bn' value='PP-ShopCartBF'>\n"
+"</form>\n"
+"<form name=main"+PC+"SU style='margin:0px;' target='paypal' action='https://www.paypal.com/cgi-bin/webscr' method='post'>\n"
+"<input type='hidden' name='add' value='1'>\n"
+"<input type='hidden' name='cmd' value='_cart'>\n"
+"<input type='hidden' name='business' value='elisabeth@howe-two.com'>\n"
+"<input type='hidden' name='item_name' value='All Programs-Single User'>\n"
+"<input type='hidden' name='item_number' value='H2-SU'>\n"
+"<input type='hidden' name='amount' value='250.00'>\n"
+"<input type='hidden' name='shipping' value='5.00'>\n"
+"<input type='hidden' name='page_style' value='Primary'>\n"
+"<input type='hidden' name='no_shipping' value='2'>\n"
+"<input type='hidden' name='return' value='http://www.howe-two.com/order/thanks.html'>\n"
+"<input type='hidden' name='cancel_return' value='http://www.howe-two.com/order/cancel.html'>\n"
+"<input type='hidden' name='cn' value='Comments'>\n"
+"<input type='hidden' name='currency_code' value='USD'>\n"
+"<input type='hidden' name='lc' value='US'>\n"
+"<input type='hidden' name='bn' value='PP-ShopCartBF'>\n"
+"</form>\n"
+"<form name=main"+PC+"SL style='margin:0px;' target='paypal' action='https://www.paypal.com/cgi-bin/webscr' method='post'>\n"
+"<input type='hidden' name='add' value='1'>\n"
+"<input type='hidden' name='cmd' value='_cart'>\n"
+"<input type='hidden' name='business' value='elisabeth@howe-two.com'>\n"
+"<input type='hidden' name='item_name' value='All Programs-Site License'>\n"
+"<input type='hidden' name='item_number' value='H2-SL'>\n"
+"<input type='hidden' name='amount' value='1500.00'>\n"
+"<input type='hidden' name='shipping' value='5.00'>\n"
+"<input type='hidden' name='page_style' value='Primary'>\n"
+"<input type='hidden' name='no_shipping' value='2'>\n"
+"<input type='hidden' name='return' value='http://www.howe-two.com/order/thanks.html'>\n"
+"<input type='hidden' name='cancel_return' value='http://www.howe-two.com/order/cancel.html'>\n"
+"<input type='hidden' name='cn' value='Comments'>\n"
+"<input type='hidden' name='currency_code' value='USD'>\n"
+"<input type='hidden' name='lc' value='US'>\n"
+"<input type='hidden' name='bn' value='PP-ShopCartBF'>\n"
+"</form>\n"
+"<form name=main"+PC+"cart target='paypal' action='https://www.paypal.com/cgi-bin/webscr' method='post'>\n"
+"<input type='hidden' name='cmd' value='_cart'>\n"
+"<input type='hidden' name='business' value='elisabeth@howe-two.com'>\n"
+"<input type='hidden' name='display' value='1'>\n"
+"<input type='hidden' name='page_style' value='PayPal'>\n"
+"</form>\n"

document.write(Results)}


function GetFolders(theURL){
if (theURL==null) theURL=""+location.href;

var w = screen.width/5;
var h = screen.height-50;

var c_Settings = "height="+h+",width="+2*w+",top=0,left=0,directories=1,location=1,menubar=1,scrollbars=1,status=1,toolbar=1,resizable=1"
var f_Settings = "height="+h+",width="+2*w+",top=0,left="+3*w+",directories=1,location=1,menubar=1,scrollbars=1,status=1,toolbar=1,resizable=1"

var tURL=theURL;
var fURL=theURL;
var cURL=""

fURL=fURL.replace("http://www.howe-two.com/","");
fURL=fURL.replace("file:///K:/_Webs/_Current/Howe-Two/","");
fURL=fURL.substr(0,fURL.lastIndexOf("/"));

cURL="file:///K:/_Webs/_Current/Howe-Two/"+fURL;
fURL="ftp://www.howe-two.com/html/"+fURL;

if (tURL.indexOf("howe-two.com")==-1) { 
window.open(cURL,"cURL_Win", c_Settings);
window.open(fURL,"fURL_Win", f_Settings); }
else {
window.open(fURL,"cURL_Win", c_Settings);
window.open(fURL,"fURL_Win", f_Settings); 
FooterCopyText(cURL); } }


function GoOnline(){
var gURL=""+location.href;

if (gURL.indexOf("howe-two.com")==-1) { gURL="http://www.howe-two.com/"+gURL.substr(10+gURL.indexOf("/Howe-Two/"),gURL.length); location.href=gURL; }
else { gURL=gURL.replace("http://www.howe-two.com/","file:///K:/_Webs/_Current/Howe-Two/"); FooterCopyText(gURL); } }


function FormatNumeric(Field){
var numbers=".0123456789";
var character=""
var temp=""
temp=Field.value
if(temp.length>1) {
  for(j=0;j<temp.length;j++) {
     character=temp.substring(j,j+1);
     if(numbers.indexOf(character)==-1) while(Field.value.indexOf(character)!=-1) Field.value=Field.value.replace(character,'');} }
else {if(numbers.indexOf(temp)==-1) Field.value=Field.value.replace(temp,'');}
}



// End of JavaScript -->

