function hondaPage(model){
   if (window.name=="ykcmlinks"){
      loadPage('../../../item_detail/'+model+'.html','HONDA '+model)
      }
      else {
          window.open('http://www.hondapowerequipment.com/ModelDetail.asp?ModelName='+model,model,'toolbar=no,location=no,scrollbars=yes,resizable=no,width=600,height=400,top=25,left=25')
      }
   }
   

function price(message){
   if (window.name=="ykcmlinks"){
      document.write(message)
   }
}

function loadTip(tipName) {
tipWindow=window.open('http://kcmower.com/GlossaryOfTerms.html#'+tipName,'tipWindow','scrollbars=yes,resizable=yes,width=640,height=125,top=0,left=0')
tipWindow.focus()
}


function loadPage(pageName,mwidth,mheight,mtop,mleft){
   if (window.name=="ykcmlinks"){
         pageWindow=window.open(pageName,'popup','menubar=yes,toolbar=yes,location=no,scrollbars=yes,resizable=yes,width='+mwidth+',height='+mheight+',top='+mtop+',left='+mleft)
   }
      else{
            pageWindow=window.open(pageName,'popup','status=yes,menubar=yes,toolbar=yes,location=no,scrollbars=yes,resizable=yes,width='+mwidth+',height='+mheight+',top='+mtop+',left='+mleft)
   }
      pageWindow.focus()
      }

function loadPopup(popupName) {
popupWindow=window.open(popupName,'popup','toolbar=no,location=no,scrollbars=yes,resizable=no,width=600,height=250,top=0,left=0')
popupWindow.focus()
}


function loadImage(imageFile,imageName,mwidth,mheight,mtop,mleft) {
imageWind=window.open('','loadImage','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width='+mwidth+',height='+mheight+',top='+mtop+',left='+mleft)
imageWind.focus()
imageWind.document.write("<HTML><HEAD><TITLE>Young's K.C.MOWER Center Image Viewer............</TITLE></HEAD>")
imageWind.document.write('<BODY ONCLICK="window.close()"><H2><CENTER>'+imageName+'</CENTER></H2>')
imageWind.document.write('<BR><CENTER>(click image to close window)</CENTER><HR></BODY></HTML>')
imageWind.document.write('<CENTER><IMG SRC="'+imageFile+'" ALT="Click image to close"></CENTER>')
}

function harmonyII() {
document.location.href="http://kcmower.com/cgi-bin/store/agora.cgi?cartlink=Sales-WalkMowers-HondaPowered.html&cart_id=%%cart_id%%"
LeftPosition = (screen.width) ? (screen.width-325)/2 : 0;
TopPosition = (screen.height) ? (screen.height-185)/2 : 0;
settings ='height=185,width=325,top='+TopPosition+',left='+LeftPosition+',scrollbars=no,toolbar=no,directories=no,status=no,location=no,menubar=no,resizeable=no'
harmonyII=window.open('','harmonyII',settings)
harmonyII.focus()
harmonyII.document.write("<HTML><HEAD><TITLE>Notice: ...........................................................................................</TITLE></HEAD>")
harmonyII.document.write('<BODY BGCOLOR="FFFF00" ONCLICK="window.close()">')
harmonyII.document.write('<CENTER><FONT STYLE="FONT-SIZE:16PX"><B>We no longer carry the Honda HR-series mowers. Don')
harmonyII.document.write("'")
harmonyII.document.write('t confuse these with the older HR214 and HR215 models. Consider the feature packed Toro "Super Bagger", powered by the Honda GCV-160 overhead cam engine. Call toll-free 888-KCMOWER for details.</B>')
harmonyII.document.write('<HR>(click anywhere on this window to continue.)</FONT></CENTER><br><br></BODY></HTML>')
}

function hondaMasters() {
document.location.href="http://kcmower.com/cgi-bin/store/agora.cgi?cartlink=Sales-WalkMowers-ToroSuperMowers.html&cart_id=%%cart_id%%"
LeftPosition = (screen.width) ? (screen.width-325)/2 : 0;
TopPosition = (screen.height) ? (screen.height-150)/2 : 0;
settings ='height=150,width=325,top='+TopPosition+',left='+LeftPosition+',scrollbars=no,toolbar=no,directories=no,status=no,location=no,menubar=no,resizeable=no'
hondaMasters=window.open('','hondaMasters',settings)
hondaMasters.focus()
hondaMasters.document.write("<HTML><HEAD><TITLE>Notice: ...........................................................................................</TITLE></HEAD>")
hondaMasters.document.write('<BODY BGCOLOR="FFFF00" ONCLICK="window.close()">')
hondaMasters.document.write('<CENTER><FONT STYLE="FONT-SIZE:16PX"><B>Honda has discontinued their legendary "Masters Series" mowers. Consider the Toro "Super Recycler", with cast aluminum deck, rugged Quantum engine, and backed by a FULL 5 YEAR WARRANTY !</B>')
hondaMasters.document.write('<HR>(click anywhere on this window to continue.)</FONT></CENTER><br><br></BODY></HTML>')
}

function hondaHRX() {
document.location.href="http://kcmower.com/cgi-bin/store/agora.cgi?cartlink=Sales-WalkMowers-HondaPowered.html&cart_id=%%cart_id%%"
LeftPosition = (screen.width) ? (screen.width-325)/2 : 0;
TopPosition = (screen.height) ? (screen.height-130)/2 : 0;
settings ='height=130,width=325,top='+TopPosition+',left='+LeftPosition+',scrollbars=no,toolbar=no,directories=no,status=no,location=no,menubar=no,resizeable=no'
hondaHRX=window.open('','hondaHRX',settings)
hondaHRX.focus()
hondaHRX.document.write("<HTML><HEAD><TITLE>Notice: ...........................................................................................</TITLE></HEAD>")
hondaHRX.document.write('<BODY BGCOLOR="FFFF00" ONCLICK="window.close()">')
hondaHRX.document.write('<CENTER><FONT STYLE="FONT-SIZE:16PX"><B>American Honda does not allow dealers to price their products on the internet!!!<BR>Please call toll-free 1-888-KCMOWER for specifications.</B>')
hondaHRX.document.write('<HR>(click anywhere on this window to continue.)</FONT></CENTER><br><br></BODY></HTML>')
}

function hmt() {
document.location.href="http://kcmower.com/cgi-bin/store/agora.cgi?cartlink=Sales-MiniTillers-Honda.html&cart_id=%%cart_id%%"
LeftPosition = (screen.width) ? (screen.width-325)/2 : 0;
TopPosition = (screen.height) ? (screen.height-130)/2 : 0;
settings ='height=130,width=325,top='+TopPosition+',left='+LeftPosition+',scrollbars=no,toolbar=no,directories=no,status=no,location=no,menubar=no,resizeable=no'
hmt=window.open('','hmt',settings)
hmt.focus()
hmt.document.write("<HTML><HEAD><TITLE>Notice: ...........................................................................................</TITLE></HEAD>")
hmt.document.write('<BODY BGCOLOR="FFFF00" ONCLICK="window.close()">')
hmt.document.write('<CENTER><FONT STYLE="FONT-SIZE:16PX"><B>American Honda does not allow dealers to price their products on the internet !!!')
hmt.document.write('<BR>Please call toll-free 1-888-KCMOWER</B>')
hmt.document.write('<HR>(click anywhere on this window to continue.)</FONT></CENTER><br><br></BODY></HTML>')
}

