function wI(s,t,c,m){if(isW)document.write("<img src='"+s+"' border=0 alt='"+ t +"'"+(c!=""?" class='"+c+"'":"")+(m!=""?" usemap='"+m+"'":"")+">");}
function w2(s){if(isW)document.write("<table background=images/giveaway/paradise_1024.jpg width=1003 height=494><tr><td valign=top><div style=PADDING-LEFT:15px;PADDING-TOP:15px><img src=images/magnum/header_clean.gif><br><font class=standardtextwhite><b>The MAGNUM is a statement of perfection, developed<br>from years of testing and a proven track record. It's<br>everything you want and nothing that you don't.<br><br>Redesigned from the ground up, the 2005 MAGNUM<br>features the strongest and most durable components<br>and materials available. From the new Honda engine<br>and super-duty transmission to the larger capacities<br>and profiled appearance; it's what you'd expect from<br>the world's most popular spreader sprayer.<br><br>No electrical, hydraulic or boom systems. That means<br>no headaches. Just rock-solid American engineering<br>that you can rely on.<br><br>All day. Every day.</div></td></tr></table>");}
function rT(){if(isW)document.write("<!"+"--");}
function rT2(){if(isW2)document.write("<!"+"--");}
function w(o){if(o&&o.className)o.className=o.className+"W";}
function e(n){return document.getElementById(n);}
function rE(n){var o=e(n);if(o)	o.parentNode.removeChild(o);}
var s1="heroL";var s2="heroS";var s3="storyS";
function recW(o){var ch=o.childNodes;var l=ch.length;var cls,i;for(var x=0;x<l;x++){i=ch[x];cls=i.className;if(cls==s1||cls==s2||cls==s3)mw(i);if(i.childNodes.length>0)recW(i);}}
function wrT(){document.write("<!"+"--");}
function rFT(){if(gFV() > 6){wrT();}else{rT();}}
function rFF(fw,fs,fc,w,t,c,m){if(gFV() > 6){var fSrc;if(isW){fSrc = fw;fc += "W";}else{fSrc = fs;}document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' class='" + fc  + "'><param name='movie' value='" + fSrc + "'/><param name='allowScriptAccess' value='sameDomain'/><param name='quality' value='high'/><embed src='" + fSrc + "' quality='high' class='" + fc  + "' name='Banner_1024' bgcolor='#ffffff' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'/></object>");}else{wI(w, t, c, m)}}
var fV = 0;
function gFV(){var lfv = 12;var ag = navigator.userAgent.toLowerCase();if (ag.indexOf("mozilla/3") != -1 && ag.indexOf("msie") == -1){fV = 0;}
	if (navigator.plugins != null && navigator.plugins.length > 0) {
		var flashPlugin = navigator.plugins['Shockwave Flash'];
		if (typeof flashPlugin == 'object') { 
			for (var i = lfv; i >= 3; i--) {
            if (flashPlugin.description.indexOf(i + '.') != -1) {
               fV = i;
               break;
            }
         }
		}
	}
	else if (ag.indexOf("msie") != -1 && parseInt(navigator.appVersion) >= 4 && ag.indexOf("win")!=-1 && ag.indexOf("16bit")==-1) {
	  var doc = '<scr' + 'ipt language="VBScript"\> \r';
      doc += 'On Error Resume Next \r';
      doc += 'Dim obFlash \r';
      doc += 'For i = ' + lfv + ' To 3 Step -1 \r';
      doc += '   Set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash." & i) \r';
      doc += '   If IsObject(obFlash) Then \r';
      doc += '      fV = i \r';
      doc += '      Exit For \r';
      doc += '   End If \r';
      doc += 'Next \r';
      doc += '</scr' + 'ipt\>';
      document.write(doc);
   }
	else {fV = 0;}return fV;
}
var baseline;
var xs_bv=0;
var xs_pHeight=211;
var xs_updown=1;
var xs_endpt=0;
var xs_ranonce=0;
var xs_pDivSeen=0;
var xs_pTuck=0;
var ua=navigator.userAgent.toLowerCase()

if ( (ua.indexOf("opera")==-1)&&((ua.indexOf("msie")!=-1)&&(ua.indexOf("windows")!=-1))||((ua.indexOf("msie 5")!=-1)&&(ua.indexOf("mac")!=-1)) ) {xs_bv=1}

function xs_pdEx(){
baseline = getPageCoords(popdownBaseline);
xs_pTop = baseline.y - xs_pHeight; 
if((xs_bv)&&(!xs_ranonce)){
xs_pDiv2.style.left=xs_pDiv.style.left=((document.body.offsetWidth/2)) // Divide by higher number to move left
xs_pd();
}
else{
if(xs_pTuck == 1){
if (xs_pDivSeen != 1){
xs_pDiv.style.clip="rect(0,320,211,0)";
xs_pDiv.style.display="";
//xs_pDiv.style.top=31;
}
xs_endpt=(document.body.offsetWidth/2)-160;
xs_tuck();
}
}
}

function xs_pdEx2(){
baseline = getPageCoords(popdownBaseline);
xs_pTop = baseline.y - xs_pHeight; 
if((xs_bv)&&(!xs_ranonce)){
xs_pDiv2.style.left=xs_pDiv.style.left=((document.body.offsetWidth/2)) // Divide by higher number to move left
xs_pd2();
}
else{
if(xs_pTuck == 1){
if (xs_pDivSeen != 1){
xs_pDiv.style.clip="rect(0,320,211,0)";
xs_pDiv.style.display="";
//xs_pDiv.style.top=31;
}
xs_endpt=(document.body.offsetWidth/2)-160;
xs_tuck();
}
}
}

function xs_pd(){
xs_ranonce=1;
if (((xs_pHeight<211)&&(xs_updown==0)) || ((xs_pHeight>3)&&(xs_updown==1))) {
if(xs_pHeight==211){xs_pDiv.style.display=""}
(xs_updown==0)?xs_pHeight+=3:xs_pHeight-=3;
(xs_updown==0)?xs_pTop-=3:xs_pTop+=3;
xs_pDiv.style.clip="rect(" + xs_pHeight + ",320,211,0)";
xs_pDiv.style.top=(xs_pTop+"px"); //style.bottom rolls from bottom
setTimeout("xs_pd();",15);
}
else{
if (xs_updown==1){
xs_pDiv.style.clip="rect(0,320,211,0)";
xs_pDiv.style.top=baseline.y; // Where it stops
xs_pDiv2.style.top=baseline.y + "px";
xs_updown=0;
xs_pDiv2.style.display=''; //Change to '' for box to remain
setTimeout("xs_pd();",5000);
} else{
xs_pDiv.style.display='none';
xs_pDivSeen = 1;
xs_endpt=(document.body.offsetWidth/2);
xs_tuck();
}
}
}

function xs_pd2(){
xs_ranonce=1;
if (((xs_pHeight<211)&&(xs_updown==0)) || ((xs_pHeight>3)&&(xs_updown==1))) {
if(xs_pHeight==211){xs_pDiv.style.display=""}
(xs_updown==0)?xs_pHeight+=3:xs_pHeight-=3;
(xs_updown==0)?xs_pTop-=3:xs_pTop+=3;
xs_pDiv.style.clip="rect(" + xs_pHeight + ",320,211,0)";
xs_pDiv.style.top=(xs_pTop+"px"); //style.bottom rolls from bottom
setTimeout("xs_pd2();",0);
}
else{
if (xs_updown==1){
xs_pDiv.style.clip="rect(0,320,211,0)";
xs_pDiv.style.top=baseline.y; // Where it stops
xs_pDiv2.style.top=baseline.y + "px";
xs_updown=0;
xs_pDiv2.style.display=''; //Change to '' for box to remain
setTimeout("xs_pd2();",0);
} else{
xs_pDiv.style.display='none';
xs_pDivSeen = 1;
xs_endpt=(document.body.offsetWidth/2);
xs_tuck();
}
}
}

function xs_tuck(){
if(xs_endpt<(document.body.offsetWidth-355)){
xs_endpt+=5;
xs_pDiv2.style.left=xs_endpt;
setTimeout("xs_tuck();",0);
}
else{xs_pTuck = 1}
} 

function getPageCoords(element) {
var coords = {x: 0, y: 0};
while (element) {
coords.x += element.offsetLeft;
coords.y += element.offsetTop;
element = element.offsetParent;
}
return coords;
}

//IMAGE FADESHOW
var slideShowSpeed = 3500;
var crossFadeDuration = 3;
var Pic = new Array();

Pic[0] = '../images/header/GrassAlwaysGreener.gif'
Pic[1] = '../images/header/withAPermaGreen.gif'
Pic[2] = '../images/header/pb_honda.gif'
Pic[3] = '../images/header/phone.gif'

// do not edit anything below this line
var t;
var j = 0;
var p = Pic.length;
var preLoad = new Array();
for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = Pic[i];
}

function runSlideShow() {
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
document.images.SlideShow.src = preLoad[j].src;
if (document.all) {
document.images.SlideShow.filters.blendTrans.Play();
}
j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}

//NEW WINDOW
function newWindow(url, height, width) {
nameW='feature'
 if (navigator.appVersion.indexOf('4') != -1) {
 // Vars for centering the new window on Version 4 Browsers
 xTop = screen.width/2 - (width/2);
 yTop = screen.height/2 - (height/2);
 window.open(url, nameW, 'height='+height+',width='+width+',scrollbars=0,resizable=0,menubar=0,toolbar=0,status=0,location=0,directories=0,left=' + xTop + ',top=' + yTop + '');
 } else {
 window.open(url, nameW, 'height='+height+',width='+width+',scrollbars=0,resizable=0,menubar=0,toolbar=0,status=0,location=0,directories=0,left=150,top=200');
 }
}


