// JavaScript Document
function StartMuzak(theone) {
if (theone == -1) {theone=Math.floor(Math.random()*3)};
(is.ie)?document.all["firstSound"].src="generalimages/"+muzak[0]:0;
}

function P7_ReDoIt() { 
 if(document.layers) {MM_reloadPage(false);}
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}

//Swipe Menu : 1.9
var is = new Is();
var css_px = (is.ns4 || is.ie4) ?"" : "px";
var vv;

function Is() {
  agent       = navigator.userAgent.toLowerCase();
  this.major  = parseInt(navigator.appVersion);
  this.minor  = parseFloat(navigator.appVersion);
  xx=agent.indexOf('netscape');
  yy=agent.indexOf('/',xx)+1;
  (xx!=-1)?version=parseFloat(agent.slice(yy,yy+3)):version=0; 
  this.ns     = ((agent.indexOf('mozilla')   != -1) &&
                (agent.indexOf('spoofer')    == -1) &&
                (agent.indexOf('compatible') == -1) &&
                (agent.indexOf('opera')      == -1) &&
                (agent.indexOf('webtv')      == -1) &&
                (agent.indexOf('hotjava')    == -1) &&
   				(agent.indexOf("msie")  == -1));
  this.ns2    = (this.ns && (this.major      ==  2));
  this.ns3    = (this.ns && (this.major      ==  3));
  this.ns4    = (this.ns && (this.major      ==  4));
  this.ns6    = (this.ns && (this.major      >=  5) && version < 7);
  this.ns7    = (this.ns && (this.major      >=  5) && version >=7);  
  this.ie     = ((agent.indexOf("msie")      != -1) &&
                (agent.indexOf("opera")      == -1));
  this.ie3    = (this.ie && (this.major      <   4));
  this.ie4    = (this.ie && (this.major      ==  4) &&
                (agent.indexOf("msie 4")     != -1));
  this.ie5    = (this.ie && (this.major      ==  4) &&
                (agent.indexOf("msie 5")     != -1) &&
                (agent.indexOf("msie 5.5")   == -1) &&
                (agent.indexOf("mac")        == -1));
  this.iem5   = (this.ie && (this.major      ==  4) &&
                (agent.indexOf("msie 5.")    != -1) &&
               (agent.indexOf("mac")        != -1));
  this.ie55   = (this.ie && (this.major      ==  4) &&
                (agent.indexOf("msie 5.5")   != -1));
  this.ie6    = (this.ie && (this.major      ==  4) &&
                (agent.indexOf("msie 6")     != -1 || agent.indexOf("msie 7") != -1));
  this.moz = (agent.indexOf("gecko")!= -1)
  this.nsdom  = (this.ns4  || this.ns6);
  this.win = (agent.indexOf("win") != -1);
  this.iestrict = (this.win && this.ie6 && document.compatMode == "CSS1Compat");
  this.macstrict = (this.ie5 && this.iemac && document.doctype && document.doctype.name.indexOf(".dtd") != -1);
  this.strict = (this.iestrict || this.macstrict);
  this.iemac =(this.iem5);
  this.iewin = ((this.ie5 && !this.iemac || this.ie55 || this.ie6) && this.win);
  this.dom = (this.iewin || this.ns6 || this.moz);
}

function menuObj(obj, par, nst, p) {
    page = new Object();
    page.width = (is.ns6 || is.ns4 || is.moz) ? innerWidth : document.body.clientWidth;
    page.height = (is.ns6 || is.ns4 || is.moz) ? innerHeight : document.body.clientHeight;
    if (!is.ns4) {
        this.lyr = (is.dom || is.iemac) ? document.getElementById(obj) : document.all[obj];
    }
    this.sty = (!is.ns4) ? this.lyr.style : this.lyr;
    this.parent = par;
    this.obj = obj + "SwipeLayer";
    eval(this.obj + "= this");
}
menuObj.prototype.timer = null;
menuObj.prototype.wipe = 0;
if (is.iemac){
menuObj.prototype.offX = Function('oX = this.lyr.offsetLeft -6+-(mAtt.border)+0; return oX');
menuObj.prototype.offY = Function('oY = this.lyr.offsetTop-2+-(mAtt.border)+0+(1);return oY;');
} else {
menuObj.prototype.offX = Function('oX = (is.dom || is.ie4) ? this.lyr.offsetLeft  : parseInt(this.sty.left);return oX');
menuObj.prototype.offY = Function('oY = (is.dom || is.ie4) ? this.lyr.offsetTop  : parseInt(this.sty.top);return oY;');
}
menuObj.prototype.offW = Function('oW = (!is.ns4) ? this.lyr.offsetWidth : this.lyr.clip.width; return oW;')
menuObj.prototype.offH = Function('oH = (!is.ns4) ? this.lyr.offsetHeight : this.lyr.clip.height; return oH;')
menuObj.prototype.maxWipe = function() {
   	if(!is.ns4) return this.offH()+10;
		else return (sAtt.height*this.lyr.document.layers.length)+10;
}
wipeMenu.prototype.addMain = function(name, hasSub, txt, url) {
	menuName = this.name, wipePos = this.pos, mAtt = this.mAtt, sAtt = this.sAtt;
	var pf = Math.ceil(((mAtt.height-mAtt.font_size)/2)-2);
	var pd = "padding:0px 6px 0px 6px;";
	var styStr2 = "position:absolute; visibility:hidden; clip:rect(0px 1000px 0px 0px); border:solid 1px "+sAtt.border_color+"; border-width:"+sAtt.border+"px 0px 0px 0px; cursor:default;";
	if(this.main[name]) return;
	if(is.dom || is.iemac) {
		var mainMenu = document.createElement("DIV");
		var wf = (is.ns6 || is.moz || is.strict) ? 12 : 0;
		var pf2 = (mAtt.height%2 == 0) ? 1 : 0;
		var styStr = "position:absolute; font-weight:"+mAtt.font_weight+"; z-index:40; width:"+(mAtt.width-wf)+"px; border:solid "+mAtt.border+"px "+mAtt.border_color+"; color:"+mAtt.fg_off+";  text-align:"+mAtt.align+"; font-size:"+mAtt.font_size+"px; font-family:"+mAtt.font+"; padding:"+pf+"px 6px "+(pf+pf2)+"px 6px; background:"+mAtt.bg_off+"; cursor:pointer; cursor:hand;"
		mainMenu.innerHTML = txt;
		mainMenu.id = name+menuName;
		mainMenu.style.cssText = styStr;
		mainMenu.setAttribute("style", styStr);
		document.body.appendChild(mainMenu);
	}
	if(is.ie4) {
		var wf = 6; 
		var styStr = "position:absolute; width:"+(mAtt.width-wf)+"px; font-weight:"+mAtt.font_weight+"; z-index:40; border:solid "+mAtt.border+"px "+mAtt.border_color+"; color:"+mAtt.fg_off+"; text-align:"+mAtt.align+"; font-size:"+mAtt.font_size+"px; font-family:"+mAtt.font+"; padding:"+pf+"px 6px "+(pf+pf2)+"px 6px; background:"+mAtt.bg_off+"; cursor:pointer; cursor:hand;"
		var mM = '<div id="'+name+menuName+'" style="'+styStr+'">'+txt+'</div>';
		document.body.insertAdjacentHTML("beforeEnd", mM);
		var mainMenu = document.all[name+menuName];
	};
	(txt=='Rainbow(R-Z)' || txt=='Rainbow(A-P)')?mainMenu.onmouseover = new Function('if('+hasSub+')'+menuName+'.subs["'+name+'"].show("'+wipePos+'"); over_out(this, "'+mAtt.bg_on+'", "'+mAtt.fg_on+'");(is.ns6 && document.getElementById("PLUG"))?document.getElementById("PLUG").style.visibility="hidden":0;'):mainMenu.onmouseover = new Function('if('+hasSub+')'+menuName+'.subs["'+name+'"].show("'+wipePos+'"); over_out(this, "'+mAtt.bg_on+'", "'+mAtt.fg_on+'")');
	mainMenu.onmouseout = new Function('if('+hasSub+')'+menuName+'.subs["'+name+'"].hide();over_out(this, "'+mAtt.bg_off+'", "'+mAtt.fg_off+'")');
	mainMenu.onmousedown = new Function('location.href = "'+url+'"');
	this.main[name] = new menuObj(mainMenu.id);
	this.mainNum[this.mainNum.length] = this.main[name];
	if(!hasSub) return;
	if(is.dom || is.iemac) {
		var subC = document.createElement("DIV");
		subC.id = name+menuName+"Sub";
		var wf = (is.ns6 || is.moz) ? 4 : 0;
		subC.style.cssText = styStr2;
		subC.setAttribute("style", styStr2);
		document.body.appendChild(subC);
	}
	if(is.ie4) {
		var sC = '<div id="'+name+menuName+'Sub" style="'+styStr2+'"></div>';
		document.body.insertAdjacentHTML("beforeEnd", sC);
		var subC = document.all[name+menuName+"Sub"];
	}
	this.subs[name] = new menuObj(subC.id, this.main[name]);
	subC.onmouseover = new Function(menuName+'.subs["'+name+'"].show("'+wipePos+'")');
	subC.onmouseout = new Function(menuName+'.subs["'+name+'"].hide();');
}
wipeMenu.prototype.addSub = function(name, parent, txt, url) {
	var pf2 = (mAtt.height%2 == 0) ? 1 : 0;
	var pf = Math.ceil(((sAtt.height-sAtt.font_size)/2)-2);
	var pd = "padding:0px 6px 0px 6px;";
	if(is.dom || is.iemac) {
		var tempsub = document.createElement("DIV");
		var wf = (is.ns6 || is.moz || is.strict) ? 12 : 0;
		var styStr = "width:"+(sAtt.width-wf)+"px; font-weight:"+sAtt.font_weight+"; border:solid "+sAtt.border+"px "+sAtt.border_color+"; border-top-width:0px; color:"+sAtt.fg_off+";  text-align:"+sAtt.align+"; font-size:"+sAtt.font_size+"px; font-family:"+sAtt.font+"; padding:"+pf+"px 6px "+(pf+pf2)+"px 6px; background:"+sAtt.bg_off+"; cursor:pointer; cursor:hand;"
		tempsub.id = name+menuName+"SubItem";
		tempsub.innerHTML = txt;
		tempsub.style.cssText = styStr;
		tempsub.setAttribute("style", styStr);
		this.subs[parent].lyr.appendChild(tempsub);
	}
	if(is.ie4) {
		var wf =  12; 
		var styStr = "width:"+(sAtt.width-wf)+"px; font-weight:"+sAtt.font_weight+"; border:solid "+sAtt.border+"px "+sAtt.border_color+"; border-top-width:0px; color:"+sAtt.fg_off+"; text-align:"+sAtt.align+"; font-size:"+sAtt.font_size+"px; font-family:"+sAtt.font+"; padding:"+pf+"px 6px "+(pf+pf2)+"px 6px; background:"+sAtt.bg_off+"; cursor:pointer; cursor:hand;"
		var ts = '<div id="'+name+menuName+'SubItem" style="'+styStr+'">'+txt+'</div>';
		this.subs[parent].lyr.insertAdjacentHTML("beforeEnd", ts);
		tempsub = document.all[name+menuName+"SubItem"];
	}
		tempsub.onmouseover = new Function('over_out(this, "'+sAtt.bg_on+'", "'+sAtt.fg_on+'")');
		tempsub.onmouseout = new Function('over_out(this, "'+sAtt.bg_off+'", "'+sAtt.fg_off+'")');
		tempsub.onmousedown = new Function('location.href = "'+url+'"');
}
menuObj.prototype.show = function(p) {
 if (p == "h") {
  	this.sty.left = this.parent.offX()+css_px;
  	this.sty.top = this.parent.offY()+this.parent.offH()+css_px;
 } else if(p == "v") {
 	if(is.iemac) {
 	this.sty.left = this.parent.offX()+mAtt.width+css_px;
  this.sty.top = this.parent.offY()+(mAtt.height%2);
 	} else {
  this.sty.left = this.parent.offX()+this.parent.offW()+css_px;
  this.sty.top = this.parent.offY()+css_px;
 	}
 }
 this.sty.zIndex = "40";
 this.sty.visibility = "visible";
 this.doShow();
}
menuObj.prototype.doShow = function() {
	clearTimeout(this.timer);
	this.clipIt(0, this.offW(), this.wipe, 0);
	this.wipe += 10;
	if(this.wipe <= this.maxWipe()) this.timer = setTimeout(this.obj + ".doShow()", 10);
}
menuObj.prototype.hide = function() {
	clearTimeout(this.timer);
	if(is.iemac) this.clipIt(0, this.offW(), this.wipe-10, 0);
	else this.clipIt(0, this.offW(), this.wipe, 0);
	this.wipe -= 10;
	if(this.wipe >= 0) this.timer = setTimeout(this.obj + ".hide()", 10);
	else this.sty.visibility = "hidden";
	(is.ns6 && document.getElementById("PLUG"))?document.getElementById("PLUG").style.visibility='visible':0;
}
function over_out(obj, bg, fg) {
		if(bg.indexOf("url") != -1) obj.style.backgroundImage = bg;
		else obj.style.backgroundImage = "url(blank)", obj.style.backgroundColor = bg;
		obj.style.color = fg;
	}
menuObj.prototype.clipIt = function(t,r,b,l) {
 this.sty.clip = "rect("+t+"px, "+r+"px, "+b+"px, "+l+"px)";
}
wipeMenu.prototype.buildMenu = function(x,y,spacing) {
// Addition to control overall offset of drop menu within the body
	x = (document.all) ? (document.body.clientWidth/2)-430 : (innerWidth/2)-430;
	y=OffsetFromNavBar+xyz;(x < 0)?x=0:0;(is.ns4)?x=x-10:0;
// end of offset addition		
	this.mainNum[0].sty.left = x+css_px;
	this.mainNum[0].sty.top = y+css_px;
	if(spacing == 0) var spacing = -this.mAtt.border;
	for(i = 1; i < this.mainNum.length; i++) {
		if(this.pos == "h") {
			this.mainNum[i].sty.left = this.mainNum[i-1].offX()+this.mainNum[i-1].offW()+spacing+css_px;
			this.mainNum[i].sty.top = this.mainNum[i-1].offY()+css_px;
		} else {
			this.mainNum[i].sty.left = this.mainNum[i-1].offX()+css_px;
			this.mainNum[i].sty.top = this.mainNum[i-1].offY()+this.mainNum[i-1].offH()+spacing+css_px;
	}
	}
}

function wipeMenu(menu, p, ma, sa) {
    this.name = menu;
    this.pos = p;
    this.mAtt = ma;
    this.sAtt = (!sa) ? ma : sa;
    this.main = [];
    this.mainNum = [];
    this.subs = [];
}

function macGo(){
 if (is.iemac){history.go(0);}
}
  if(document.layers) { 
var pX = innerWidth;
var pY = innerHeight; 
	onresize= function(){ 
		if(pX!= innerWidth || pY!= innerHeight) history.go(0);}
}
image1 = new Image()
image1.src = "generalimages/fade1.gif"
image2 = new Image()
image2.src = "generalimages/glow2.gif"
image3 = new Image()
image3.src = "generalimages/glow5.gif"
image4 = new Image()
image4.src = "generalimages/glow6.gif"
//M2Preload
//FinishM2

function initSwipeMenu() {
	hMenu1Att = new Array();
	hMenu1Att["width"] = 73,
	hMenu1Att["height"] = 17,
	hMenu1Att["align"] = "center";
	hMenu1Att["font"] = "Arial";
	hMenu1Att["font_size"] = 11;
	hMenu1Att["font_weight"] = "normal";
	hMenu1Att["bg_off"] = "url(generalimages/fade1.gif)";
	hMenu1Att["bg_on"] = "url(generalimages/glow2.gif)";
	hMenu1Att["fg_off"] = "#000000";
	hMenu1Att["fg_on"] = "#660000";
	hMenu1Att["border"] = 1;
	hMenu1Att["border_color"] = "#000000";

	hMenu1SubAtt = new Array();
	hMenu1SubAtt["width"] = 110,
	hMenu1SubAtt["height"] = 17,
	hMenu1SubAtt["align"] = "left";
	hMenu1SubAtt["font"] = "Arial";
	hMenu1SubAtt["font_size"] = 11;
	hMenu1SubAtt["font_weight"] = "normal";
	hMenu1SubAtt["bg_off"] = "url(generalimages/glow5.gif)";
	hMenu1SubAtt["bg_on"] = "url(generalimages/glow6.gif)";
	hMenu1SubAtt["fg_off"] = "#000000";
	hMenu1SubAtt["fg_on"] = "#000000";
	hMenu1SubAtt["border"] = 1;
	hMenu1SubAtt["border_color"] = "#000000";

hMenu1 = new wipeMenu("hMenu1", "h", hMenu1Att, hMenu1SubAtt);
//MenuTypeEnd

// CH Number = array number in data.js and that number plus 1  = number on picture

//xMenu3
hMenu1.addMain("Menu3", true, "Blends", "#");
hMenu1.addSub("Menu3Sub1", "Menu3", "Boronia", "index2.html?GY=merinosilkalpaca&CH=0");
hMenu1.addSub("Menu3Sub5", "Menu3", "Grevillea", "index2.html?GY=merinosilkalpaca&CH=4");
hMenu1.addSub("Menu3Sub6", "Menu3", "Harlequin", "index2.html?GY=merinosilkalpaca&CH=5");
hMenu1.addSub("Menu3Sub7", "Menu3", "Jacaranda", "index2.html?GY=merinosilkalpaca&CH=6");
hMenu1.addSub("Menu3Sub8", "Menu3", "Jasmine", "index2.html?GY=merinosilkalpaca&CH=7");
hMenu1.addSub("Menu3Sub9", "Menu3", "Peacock", "index2.html?GY=merinosilkalpaca&CH=8");
hMenu1.addSub("Menu3Sub11", "Menu3", "Silverwood", "index2.html?GY=merinosilkalpaca&CH=10");
hMenu1.addSub("Menu3Sub12", "Menu3", "Stringybark", "index2.html?GY=merinosilkalpaca&CH=11");
hMenu1.addSub("Menu3Sub14", "Menu3", "Wild Camel", "index2.html?GY=merinosilkalpaca&CH=13");
hMenu1.addSub("Menu3Sub15", "Menu3", "Berry Swirl", "index2.html?GY=merinosilkalpaca&CH=14");
hMenu1.addSub("Menu3Sub16", "Menu3", "Carnival", "index2.html?GY=merinosilkalpaca&CH=15");
hMenu1.addSub("Menu3Sub17", "Menu3", "Fairy Floss", "index2.html?GY=merinosilkalpaca&CH=16");
hMenu1.addSub("Menu3Sub18", "Menu3", "Pixie", "index2.html?GY=merinosilkalpaca&CH=17");

//xMenu3End
//xMenu4
hMenu1.addMain("Menu4", true, "Naturals#1", "#");
hMenu1.addSub("Menu4Sub1", "Menu4", "Banksia", "index2.html?GY=naturals&CH=1");
hMenu1.addSub("Menu4Sub2", "Menu4", "Coal", "index2.html?GY=naturals&CH=5");
hMenu1.addSub("Menu4Sub3", "Menu4", "Currawong", "index2.html?GY=naturals&CH=7");
hMenu1.addSub("Menu4Sub4", "Menu4", "Logwood", "index2.html?GY=naturals&CH=12");
hMenu1.addSub("Menu4Sub5", "Menu4", "Mushroom", "index2.html?GY=naturals&CH=13");
hMenu1.addSub("Menu4Sub6", "Menu4", "Natural White", "index2.html?GY=naturals&CH=14");
hMenu1.addSub("Menu4Sub7", "Menu4", "Sandstone", "index2.html?GY=naturals&CH=18");
hMenu1.addSub("Menu4Sub8", "Menu4", "Tan Bark", "index2.html?GY=naturals&CH=19");
hMenu1.addSub("Menu4Sub9", "Menu4", "Wallaby", "index2.html?GY=naturals&CH=20");
hMenu1.addSub("Menu4Sub10", "Menu4", "Dark Brown", "index2.html?GY=naturals&CH=22");
hMenu1.addSub("Menu4Sub11", "Menu4", "Emu Brown", "index2.html?GY=naturals&CH=23");
hMenu1.addSub("Menu4Sub12", "Menu4", "Golden Blonde", "index2.html?GY=naturals&CH=24");
hMenu1.addSub("Menu4Sub13", "Menu4", "Stringy Bark", "index2.html?GY=naturals&CH=25");
hMenu1.addSub("Menu4Sub14", "Menu4", "Auburn", "index2.html?GY=naturals&CH=26");
hMenu1.addSub("Menu4Sub15", "Menu4", "Black", "index2.html?GY=naturals&CH=27");
hMenu1.addSub("Menu4Sub16", "Menu4", "Blonde", "index2.html?GY=naturals&CH=28");
hMenu1.addSub("Menu4Sub17", "Menu4", "Brown", "index2.html?GY=naturals&CH=29");
hMenu1.addSub("Menu4Sub18", "Menu4", "Brown Black", "index2.html?GY=naturals&CH=30");
//xMenu4End
//xMenu4b
hMenu1.addMain("Menu4b", true, "Naturals#2", "#");
hMenu1.addSub("Menu4bSub19", "Menu4b", "Chestnut", "index2.html?GY=naturals&CH=31");
hMenu1.addSub("Menu4bSub20", "Menu4b", "Copper", "index2.html?GY=naturals&CH=32");
hMenu1.addSub("Menu4bSub21", "Menu4b", "Dark Blonde", "index2.html?GY=naturals&CH=33");
hMenu1.addSub("Menu4bSub22", "Menu4b", "Mid Brown", "index2.html?GY=naturals&CH=34");
hMenu1.addSub("Menu4bSub23", "Menu4b", "Pale Blonde", "index2.html?GY=naturals&CH=35");
hMenu1.addSub("Menu4bSub24", "Menu4b", "Rye", "index2.html?GY=naturals&CH=36");
hMenu1.addSub("Menu4bSub25", "Menu4b", "Shell", "index2.html?GY=naturals&CH=37");
hMenu1.addSub("Menu4bSub26", "Menu4b", "Strawberry Blonde", "index2.html?GY=naturals&CH=38");
hMenu1.addSub("Menu4bSub27", "Menu4b", "Wheat", "index2.html?GY=naturals&CH=39");
hMenu1.addSub("Menu4bSub28", "Menu4b", "Wombat", "index2.html?GY=naturals&CH=40");
//vMenu4bEnd
//xMenu5
hMenu1.addMain("Menu5", true, "Plains#1", "#");
hMenu1.addSub("Menu5Sub1", "Menu5", "Aubergine", "index2.html?GY=plains&CH=1");
hMenu1.addSub("Menu5Sub2", "Menu5", "Bloodwood", "index2.html?GY=plains&CH=2");
hMenu1.addSub("Menu5Sub3", "Menu5", "Citrus", "index2.html?GY=plains&CH=4");
hMenu1.addSub("Menu5Sub4", "Menu5", "Clematis", "index2.html?GY=plains&CH=5");
hMenu1.addSub("Menu5Sub5", "Menu5", "Daisy", "index2.html?GY=plains&CH=7");
hMenu1.addSub("Menu5Sub6", "Menu5", "Fairy Pink", "index2.html?GY=plains&CH=8");
hMenu1.addSub("Menu4Sub7", "Menu5", "Frangipanni", "index2.html?GY=plains&CH=9");
hMenu1.addSub("Menu5Sub8", "Menu5", "Hibiscus", "index2.html?GY=plains&CH=10");
hMenu1.addSub("Menu4Sub9", "Menu5", "Honeycomb", "index2.html?GY=plains&CH=11");
hMenu1.addSub("Menu5Sub10", "Menu5", "Kingfisher", "index2.html?GY=plains&CH=12");
hMenu1.addSub("Menu5Sub11", "Menu5", "Lavender", "index2.html?GY=plains&CH=13");
hMenu1.addSub("Menu5Sub12", "Menu5", "Lime", "index2.html?GY=plains&CH=14");
hMenu1.addSub("Menu5Sub13", "Menu5", "Madder Orange", "index2.html?GY=plains&CH=15");
hMenu1.addSub("Menu5Sub14", "Menu5", "Marine", "index2.html?GY=plains&CH=16");
hMenu1.addSub("Menu5Sub15", "Menu5", "Moss", "index2.html?GY=plains&CH=17");
hMenu1.addSub("Menu5Sub16", "Menu5", "Mulberry", "index2.html?GY=plains&CH=19");
hMenu1.addSub("Menu5Sub17", "Menu5", "Mulga", "index2.html?GY=plains&CH=20");
hMenu1.addSub("Menu5Sub18", "Menu5", "Orchid", "index2.html?GY=plains&CH=21");
hMenu1.addSub("Menu5Sub19", "Menu5", "Outback", "index2.html?GY=plains&CH=22");
hMenu1.addSub("Menu4Sub20", "Menu5", "Paw Paw", "index2.html?GY=plains&CH=23");
hMenu1.addSub("Menu5Sub21", "Menu5", "Plum", "index2.html?GY=plains&CH=24");
hMenu1.addSub("Menu5Sub22", "Menu5", "Primula", "index2.html?GY=plains&CH=25");
hMenu1.addSub("Menu5Sub23", "Menu5", "Protea", "index2.html?GY=plains&CH=26");
hMenu1.addSub("Menu4Sub24", "Menu5", "Pumpkin", "index2.html?GY=plains&CH=27");

//xMenu5End
//xMenu6
hMenu1.addMain("Menu6", true, "Plains#2", "#");
hMenu1.addSub("Menu6Sub1", "Menu6", "Galah", "index2.html?GY=plains&CH=35");
hMenu1.addSub("Menu6Sub2", "Menu6", "Olive", "index2.html?GY=plains&CH=36");
hMenu1.addSub("Menu6Sub3", "Menu6", "Dusky Pink", "index2.html?GY=plains&CH=37");
hMenu1.addSub("Menu6Sub4", "Menu6", "Ice Maiden", "index2.html?GY=plains&CH=38");
hMenu1.addSub("Menu6Sub5", "Menu6", "Iceberg", "index2.html?GY=plains&CH=39");
hMenu1.addSub("Menu6Sub6", "Menu6", "Jacaranda", "index2.html?GY=plains&CH=40");
hMenu1.addSub("Menu6Sub7", "Menu6", "Old Rose", "index2.html?GY=plains&CH=41");
hMenu1.addSub("Menu6Sub8", "Menu6", "Peppermint", "index2.html?GY=plains&CH=42");
hMenu1.addSub("Menu6Sub9", "Menu6", "Rosemary", "index2.html?GY=plains&CH=43");
hMenu1.addSub("Menu6Sub10", "Menu6", "Salt Bush", "index2.html?GY=plains&CH=44");
hMenu1.addSub("Menu6Sub11", "Menu6", "Silver Grey", "index2.html?GY=plains&CH=45");
hMenu1.addSub("Menu6Sub12", "Menu6", "Sugar Gum", "index2.html?GY=plains&CH=46");
hMenu1.addSub("Menu6Sub13", "Menu6", "Watercrest", "index2.html?GY=plains&CH=47");
hMenu1.addSub("Menu6Sub14", "Menu6", "Wattle", "index2.html?GY=plains&CH=48");
hMenu1.addSub("Menu6Sub15", "Menu6", "Wild Raspberry", "index2.html?GY=plains&CH=50");
hMenu1.addSub("Menu6Sub16", "Menu6", "Blue Gum", "index2.html?GY=plains&CH=51");
hMenu1.addSub("Menu6Sub17", "Menu6", "Azalea", "index2.html?GY=plains&CH=52");
hMenu1.addSub("Menu6Sub18", "Menu6", "Blueberry", "index2.html?GY=plains&CH=53");
hMenu1.addSub("Menu6Sub19", "Menu6", "Desert Pea", "index2.html?GY=plains&CH=54");
hMenu1.addSub("Menu5Sub20", "Menu6", "Salmon Gum", "index2.html?GY=plains&CH=30");
hMenu1.addSub("Menu5Sub21", "Menu6", "Sweet Pea", "index2.html?GY=plains&CH=31");
hMenu1.addSub("Menu5Sub22", "Menu6", "Violet", "index2.html?GY=plains&CH=33");
hMenu1.addSub("Menu4Sub22", "Menu6", "Wattle Bark", "index2.html?GY=plains&CH=49");
//xMenu6End
//xMenu7
hMenu1.addMain("Menu7", true, "Mermaids", "#");
hMenu1.addSub("Menu7Sub1", "Menu7", "M1-Coral Princess", "index2.html?GY=mermaids&CH=0");
hMenu1.addSub("Menu7Sub2", "Menu7", "M3-Sea Star", "index2.html?GY=mermaids&CH=2");
hMenu1.addSub("Menu7Sub3", "Menu7", "M4-Sea Dragon", "index2.html?GY=mermaids&CH=3");
hMenu1.addSub("Menu7Sub4", "Menu7", "M5-Sea Grass", "index2.html?GY=mermaids&CH=4");
hMenu1.addSub("Menu7Sub5", "Menu7", "M6-Sea Urchin", "index2.html?GY=mermaids&CH=5");
hMenu1.addSub("Menu7Sub6", "Menu7", "M7-Marine Magic", "index2.html?GY=mermaids&CH=6");
hMenu1.addSub("Menu7Sub7", "Menu7", "M8-Sea Kelp", "index2.html?GY=mermaids&CH=7");
hMenu1.addSub("Menu7Sub8", "Menu7", "M9-Neptunes Beard", "index2.html?GY=mermaids&CH=8");
hMenu1.addSub("Menu7Sub9", "Menu7", "M10-Water Nymph", "index2.html?GY=mermaids&CH=9");
hMenu1.addSub("Menu7Sub10", "Menu7", "M11-Sea Horse", "index2.html?GY=mermaids&CH=10");
hMenu1.addSub("Menu7Sub11", "Menu7", "M13-Sea Anemone", "index2.html?GY=mermaids&CH=12");
hMenu1.addSub("Menu7Sub12", "Menu7", "M15-Blue Lagoon", "index2.html?GY=mermaids&CH=14");
//xMenu7End
//xMenu8
hMenu1.addMain("Menu8", true, "Rainbow#1", "#");
hMenu1.addSub("Menu8Sub1", "Menu8", "Antique", "index2.html?GY=rainbow&CH=0");
hMenu1.addSub("Menu8Sub2", "Menu8", "Coral", "index2.html?GY=rainbow&CH=1");
hMenu1.addSub("Menu8Sub3", "Menu8", "Fantasy", "index2.html?GY=rainbow&CH=2");
hMenu1.addSub("Menu8Sub4", "Menu8", "Golden Peach", "index2.html?GY=rainbow&CH=3");
hMenu1.addSub("Menu8Sub5", "Menu8", "Midnight Sea", "index2.html?GY=rainbow&CH=4");
hMenu1.addSub("Menu8Sub6", "Menu8", "Millenium Madness", "index2.html?GY=rainbow&CH=5");
hMenu1.addSub("Menu8Sub7", "Menu8", "Mint Ice", "index2.html?GY=rainbow&CH=6");
hMenu1.addSub("Menu8Sub8", "Menu8", "Opal", "index2.html?GY=rainbow&CH=7");
hMenu1.addSub("Menu8Sub9", "Menu8", "Pacific Blue", "index2.html?GY=rainbow&CH=8");
hMenu1.addSub("Menu8Sub10", "Menu8", "Paradise Extravaganza", "index2.html?GY=rainbow&CH=9");
hMenu1.addSub("Menu8Sub11", "Menu8", "Pearl Shell", "index2.html?GY=rainbow&CH=10");
hMenu1.addSub("Menu8Sub12", "Menu8", "Pot Pouri", "index2.html?GY=rainbow&CH=11");
hMenu1.addSub("Menu8Sub13", "Menu8", "Princess", "index2.html?GY=rainbow&CH=12");
hMenu1.addSub("Menu8Sub14", "Menu8", "Carnival", "index2.html?GY=rainbow&CH=24");
hMenu1.addSub("Menu8Sub15", "Menu8", "Endora", "index2.html?GY=rainbow&CH=25");
hMenu1.addSub("Menu8Sub16", "Menu8", "Morticia", "index2.html?GY=rainbow&CH=26");
//xMenu8End
//xMenu9
hMenu1.addMain("Menu9", true, "Rainbow#2", "#");
hMenu1.addSub("Menu9Sub1", "Menu9", "Rainforest", "index2.html?GY=rainbow&CH=13");
hMenu1.addSub("Menu9Sub2", "Menu9", "Rainbow Fairy", "index2.html?GY=rainbow&CH=14");
hMenu1.addSub("Menu9Sub3", "Menu9", "Sea Sprite", "index2.html?GY=rainbow&CH=15");
hMenu1.addSub("Menu9Sub4", "Menu9", "Silver Gum", "index2.html?GY=rainbow&CH=16");
hMenu1.addSub("Menu9Sub5", "Menu9", "Sugar 'n' Spice", "index2.html?GY=rainbow&CH=17");
hMenu1.addSub("Menu9Sub6", "Menu9", "Sugar Mint", "index2.html?GY=rainbow&CH=18");
hMenu1.addSub("Menu9Sub7", "Menu9", "Summer Berry", "index2.html?GY=rainbow&CH=19");
hMenu1.addSub("Menu9Sub8", "Menu9", "Sun 'n' Surf", "index2.html?GY=rainbow&CH=20");
hMenu1.addSub("Menu9Sub9", "Menu9", "Tarrak", "index2.html?GY=rainbow&CH=21");
hMenu1.addSub("Menu9Sub10", "Menu9", "Tropicana", "index2.html?GY=rainbow&CH=22");
hMenu1.addSub("Menu9Sub11", "Menu9", "Wild Fire", "index2.html?GY=rainbow&CH=23");
//xMenu9End
//xMenu10
hMenu1.addMain("Menu10", true, "Merino#1", "#");
hMenu1.addSub("Menu10Sub2", "Menu10", "Beige", "index2.html?GY=merinowool&CH=1");
hMenu1.addSub("Menu10Sub3", "Menu10", "Black", "index2.html?GY=merinowool&CH=2");
hMenu1.addSub("Menu10Sub4", "Menu10", "Bottle Green", "index2.html?GY=merinowool&CH=3");
hMenu1.addSub("Menu10Sub6", "Menu10", "Camel", "index2.html?GY=merinowool&CH=5");
hMenu1.addSub("Menu10Sub7", "Menu10", "Carmine", "index2.html?GY=merinowool&CH=6");
hMenu1.addSub("Menu10Sub8", "Menu10", "Cherry", "index2.html?GY=merinowool&CH=7");
hMenu1.addSub("Menu10Sub9", "Menu10", "Fuschia", "index2.html?GY=merinowool&CH=8");
hMenu1.addSub("Menu10Sub11", "Menu10", "Lilac", "index2.html?GY=merinowool&CH=10");
hMenu1.addSub("Menu10Sub12", "Menu10", "Natural", "index2.html?GY=merinowool&CH=11");
hMenu1.addSub("Menu10Sub13", "Menu10", "New Jade", "index2.html?GY=merinowool&CH=12");
hMenu1.addSub("Menu10Sub14", "Menu10", "Nutmeg", "index2.html?GY=merinowool&CH=13");
hMenu1.addSub("Menu10Sub15", "Menu10", "Ochre", "index2.html?GY=merinowool&CH=14");
hMenu1.addSub("Menu10Sub16", "Menu10", "Olive Green", "index2.html?GY=merinowool&CH=15");
hMenu1.addSub("Menu10Sub18", "Menu10", "Rose", "index2.html?GY=merinowool&CH=17");
hMenu1.addSub("Menu10Sub19", "Menu10", "Royal", "index2.html?GY=merinowool&CH=18");
hMenu1.addSub("Menu10Sub20", "Menu10", "Rust", "index2.html?GY=merinowool&CH=19");
hMenu1.addSub("Menu10Sub21", "Menu10", "Spanish Gold", "index2.html?GY=merinowool&CH=20");
hMenu1.addSub("Menu10Sub22", "Menu10", "Winter Cream", "index2.html?GY=merinowool&CH=21");

hMenu1.addSub("Menu10Sub23", "Menu10", "Brick", "index2.html?GY=merinowool&CH=22");
hMenu1.addSub("Menu10Sub24", "Menu10", "Emerald", "index2.html?GY=merinowool&CH=23");
//xMenu10End
//xMenu10b
hMenu1.addMain("Menu10b", true, "Merino#2", "#");
hMenu1.addSub("Menu10bSub25", "Menu10b", "Forest", "index2.html?GY=merinowool&CH=24");
hMenu1.addSub("Menu10bSub26", "Menu10b", "Hibiscus", "index2.html?GY=merinowool&CH=25");
hMenu1.addSub("Menu10bSub27", "Menu10b", "Ice Pink", "index2.html?GY=merinowool&CH=26");
hMenu1.addSub("Menu10bSub28", "Menu10b", "Kelly Green", "index2.html?GY=merinowool&CH=27");
hMenu1.addSub("Menu10bSub29", "Menu10b", "Lavender", "index2.html?GY=merinowool&CH=28");
hMenu1.addSub("Menu10bSub30", "Menu10b", "Mint", "index2.html?GY=merinowool&CH=29");
hMenu1.addSub("Menu10bSub31", "Menu10b", "Pumpkin", "index2.html?GY=merinowool&CH=30");
hMenu1.addSub("Menu10bSub32", "Menu10b", "Purple", "index2.html?GY=merinowool&CH=31");
hMenu1.addSub("Menu10bSub33", "Menu10b", "Raspberry", "index2.html?GY=merinowool&CH=32");
//hMenu1.addSub("Menu10bSub34", "Menu10b", "Rosella", "index2.html?GY=merinowool&CH=33");
hMenu1.addSub("Menu10bSub35", "Menu10b", "Royal Purple", "index2.html?GY=merinowool&CH=34");
hMenu1.addSub("Menu10bSub36", "Menu10b", "Ruby", "index2.html?GY=merinowool&CH=35");
hMenu1.addSub("Menu10bSub37", "Menu10b", "Salmon", "index2.html?GY=merinowool&CH=36");
hMenu1.addSub("Menu10bSub38", "Menu10b", "Sapphire", "index2.html?GY=merinowool&CH=37");
hMenu1.addSub("Menu10bSub39", "Menu10b", "Shiraz", "index2.html?GY=merinowool&CH=38");
hMenu1.addSub("Menu10bSub40", "Menu10b", "Silver", "index2.html?GY=merinowool&CH=39");
hMenu1.addSub("Menu10bSub41", "Menu10b", "Sky Blue", "index2.html?GY=merinowool&CH=40");
hMenu1.addSub("Menu10bSub42", "Menu10b", "Tangerine", "index2.html?GY=merinowool&CH=41");
hMenu1.addSub("Menu10bSub43", "Menu10b", "Thistle", "index2.html?GY=merinowool&CH=42");
hMenu1.addSub("Menu10bSub44", "Menu10b", "Celery", "index2.html?GY=merinowool&CH=43");
//xMenu10bEnd

//xMenu11
hMenu1.addMain("Menu11", true, "Cotton Curls", "#");
hMenu1.addSub("Menu11Sub1", "Menu11", "Natural", "index2.html?GY=ragdoll&CH=0");
hMenu1.addSub("Menu11Sub2", "Menu11", "Black", "index2.html?GY=ragdoll&CH=1");
hMenu1.addSub("Menu11Sub3", "Menu11", "Tea Dyed", "index2.html?GY=ragdoll&CH=2");
hMenu1.addSub("Menu11Sub4", "Menu11", "Four", "index2.html?GY=ragdoll&CH=3");
hMenu1.addSub("Menu11Sub5", "Menu11", "Five", "index2.html?GY=ragdoll&CH=4");
hMenu1.addSub("Menu11Sub6", "Menu11", "Six", "index2.html?GY=ragdoll&CH=5");
hMenu1.addSub("Menu11Sub7", "Menu11", "Seven", "index2.html?GY=ragdoll&CH=6");
hMenu1.addSub("Menu11Sub8", "Menu11", "Eight", "index2.html?GY=ragdoll&CH=7");
hMenu1.addSub("Menu11Sub9", "Menu11", "Nine", "index2.html?GY=ragdoll&CH=8");
hMenu1.addSub("Menu11Sub10", "Menu11", "Ten", "index2.html?GY=ragdoll&CH=9");
hMenu1.addSub("Menu11Sub11", "Menu11", "Eleven", "index2.html?GY=ragdoll&CH=10");
hMenu1.addSub("Menu11Sub12", "Menu11", "Twelve", "index2.html?GY=ragdoll&CH=11");
hMenu1.addSub("Menu11Sub13", "Menu11", "Thirteen", "index2.html?GY=ragdoll&CH=12");
hMenu1.addSub("Menu11Sub14", "Menu11", "Fifteen", "index2.html?GY=ragdoll&CH=14");
//xMenu11End
//xMenu11
hMenu1.addMain("Menu12", true, "Alpaca-Flax", "#");
hMenu1.addSub("Menu12Sub1", "Menu12", "Grey Staple", "index2.html?GY=staplesflax&CH=0");
hMenu1.addSub("Menu12Sub2", "Menu12", "Brown Tops", "index2.html?GY=staplesflax&CH=1");
hMenu1.addSub("Menu12Sub3", "Menu12", "Black Flax", "index2.html?GY=staplesflax&CH=2");
hMenu1.addSub("Menu12Sub4", "Menu12", "Natural Flax", "index2.html?GY=staplesflax&CH=3");
//xMenu11End
//XtraMenusEnd
hMenu1.buildMenu(15,45,0);
//Additional
}
//SwipeMenuEnd

function MM_displayStatusMsg(msgStr) { status=msgStr; document.MM_returnValue = true;}

function StopRipple() {
document.onmousemove=null;
for (i=0; i < n; i++){yR[i]=0;xR[i]=0;YR[i]=ymouse;XR[i]=xmouse};
ymouse=407+YYoffset; xmouse=75+XXoffset; assign();
(is.ie && document.all["firstSound"])?document.all["firstSound"].src="generalimages/jsilence.mid":0;
};

function StartRipple() {
document.onmousemove=Mouse;
(is.ie && document.all["firstSound"])?document.all["firstSound"].src="generalimages/"+muzak[Math.floor(Math.random()*3)]:0;
};
function assign(){
if (is.ie) outer.style.top=0;
if (is.ns6) {document.getElementById("outer").style.top=25};
for (i=0; i < n; i++){
 var d=(is.ie)?document.all['iemsg'+i].style:(is.ns6)?document.getElementById("iemsg"+i).style:0;  
(is.ie)?document.all['iemsg'+i].style.visibility="visible":(is.ns6)?document.getElementById("iemsg"+i).style.visibility="visible":0;
 d.top=yR[i]+scrll;
 d.left=xR[i]+(i*(a/2));
 } 
}
function ripple(){
yR[0]=Math.round(YR[0]+=((ymouse)-YR[0])*speed);
xR[0]=Math.round(XR[0]+=((xmouse)-XR[0])*speed);
for (var i=1; i < n; i++){
yR[i]=Math.round(YR[i]+=(yR[i-1]-YR[i])*speed);
xR[i]=Math.round(XR[i]+=(xR[i-1]-XR[i])*speed);
}
assign();
setTimeout('ripple()',10);
}

function Mouse(evnt){
ymouse = (is.ns6)?evnt.pageY+20-(window.pageYOffset):event.y+20;
xmouse = (is.ns6)?evnt.pageX+20:event.x+20;
return false;
}