 strOS = "other";
strBrowser = "other"; 
 strTemp = navigator.appVersion.toLowerCase();
 if (strTemp.indexOf("win") > 0)
 strOS = "windows";
 if (strTemp.indexOf("mac") > 0)
 strOS = "mac";
 if (strTemp.indexOf("msie") > 0)
 strBrowser = "msie";
   var xx ;
 if ((strOS.toLowerCase() == "windows") && (strBrowser.toLowerCase() == "msie")){
 //ie
xx = 325;
 }
 else if ((strOS.toLowerCase() == "windows") && (strBrowser.toLowerCase() == "other")){
if(document.layers)
{  
 //ns4
 xx = 325;
}
 else  
 //ns 
   xx = 325;
}
else if ((strOS.toLowerCase() == "mac") && (strBrowser.toLowerCase() == "msie")){
// text_mac_ie
  xx = 325;
 }else if ((strOS.toLowerCase() == "mac") && (strBrowser.toLowerCase() == "other")){
  //text mac ns
xx = 325;
  }else if ((strOS.toLowerCase() == "other") && (strBrowser.toLowerCase() == "other")){
  //text
 xx = 325;
}
 var mIn_Y_OffSet; 
 var mIn_X_OffSet;
 var mIn_X_Error; 
 var mInLevel_1_Items=5;

 var mIn_Y_Height_Error;
 var mInItemHeight;
 var mStLevel1Index;
 mStLevel1Index =','
 mInItemHeight = itemHeight;
 mIn_Y_Height_Error = 1;
 mIn_Y_OffSet = 24;
 mIn_X_OffSet = width;
 mIn_X_Error = 0;

     var mIn_New_Y = 420;
     var yy_1 = 200;
     var menuContent = new Array();

menuContent [0] = new Array ( -1, -1,width, xx, mIn_New_Y, new Array ( '&gt;&nbsp;Policy Statement','http://www.newenergysolutions.ie/content/what_we_do/policy_statemen.asp', '&gt;&nbsp;Commercial BER\'s','http://www.newenergysolutions.ie/content/what_we_do/commercial.asp'))



mIn_New_Y = mIn_New_Y+mIn_Y_OffSet;
mStLevel1Index = mStLevel1Index + '0,'

mIn_New_Y = mIn_New_Y+mIn_Y_OffSet;
mStLevel1Index = mStLevel1Index + '0,'

menuContent [1] = new Array ( -1, -1,width, xx, mIn_New_Y, new Array ( '&gt;&nbsp;About Us','http://www.newenergysolutions.ie/content/about_us/about.asp', '&gt;&nbsp;Some Facts','http://www.newenergysolutions.ie/content/about_us/some_facts.asp', '&gt;&nbsp;2025 Gas Supplies','http://www.newenergysolutions.ie/content/about_us/2025_gas_suppli.asp'))




mIn_New_Y = mIn_New_Y+mIn_Y_OffSet;
mStLevel1Index = mStLevel1Index + '1,'

mIn_New_Y = mIn_New_Y+mIn_Y_OffSet;
mStLevel1Index = mStLevel1Index + '1,'

mIn_New_Y = mIn_New_Y+mIn_Y_OffSet;
mStLevel1Index = mStLevel1Index + '1,'

menuContent [2] = new Array ( -1, -1,width, xx, mIn_New_Y, new Array ( '&gt;&nbsp;BER Certificates','http://www.newenergysolutions.ie/content/products/ber_certificate.asp', '&gt;&nbsp;Geothermal','http://www.newenergysolutions.ie/content/products/geothermal.asp', '&gt;&nbsp;Underfloor Heating','http://www.newenergysolutions.ie/content/products/ufh.asp', '&gt;&nbsp;Highly Effective Lighting','http://www.newenergysolutions.ie/content/products/high_effective_.asp', '&gt;&nbsp;Wood Pellet Heaters','http://www.newenergysolutions.ie/content/products/wood_pellet_hea.asp', '&gt;&nbsp;Solar','http://www.newenergysolutions.ie/content/products/solar.asp', '&gt;&nbsp;Air Tightness','http://www.newenergysolutions.ie/content/products/air_tightness.asp', '&gt;&nbsp;Heat Recovery Ventilation','http://www.newenergysolutions.ie/content/products/heat_recovery_v.asp', '&gt;&nbsp;Insulated External Walls','http://www.newenergysolutions.ie/content/products/inexternal_wall.asp', '&gt;&nbsp;Low U-Value Products','http://www.newenergysolutions.ie/content/products/low_u_value_pro.asp', '&gt;&nbsp;Plug and Play Systems','http://www.newenergysolutions.ie/content/products/plug_and_play_s.asp', '&gt;&nbsp;Digital Home Automation','http://www.newenergysolutions.ie/content/products/digital_home_au.asp', '&gt;&nbsp;Engineering','http://www.newenergysolutions.ie/content/products/engineering.asp', '&gt;&nbsp;Fault Finding','http://www.newenergysolutions.ie/content/products/fault_finding.asp'))
menuContent [3] = new Array (2,0 ,width, xx+mIn_X_OffSet+mIn_X_Error, mIn_New_Y+(0*(mInItemHeight+mIn_Y_Height_Error)), new Array ( '&gt;&gt;&nbsp;BER Software','http://www.newenergysolutions.ie/content/products/ber_software.asp', '&gt;&gt;&nbsp;Software Inputs','http://www.newenergysolutions.ie/content/products/software_inputs.asp'))
menuContent [4] = new Array (2,1 ,width, xx+mIn_X_OffSet+mIn_X_Error, mIn_New_Y+(1*(mInItemHeight+mIn_Y_Height_Error)), new Array ( '&gt;&gt;&nbsp;Under Floor Heating','http://www.newenergysolutions.ie/content/products/under_floor_hea.asp', '&gt;&gt;&nbsp;Floor Coverings','http://www.newenergysolutions.ie/content/products/floor_coverings.asp'))













mIn_New_Y = mIn_New_Y+mIn_Y_OffSet;
mStLevel1Index = mStLevel1Index + '2,'

menuContent [5] = new Array ( -1, -1,width, xx, mIn_New_Y, new Array ( '&gt;&nbsp;NES progressing Existing Home Audits with SEI','http://www.newenergysolutions.ie/content/news/nes_selected_on_.asp', '&gt;&nbsp;Revised Building Regulations','http://www.newenergysolutions.ie/content/news/building_regula.asp', '&gt;&nbsp;New Contracts awarded','http://www.newenergysolutions.ie/content/news/new_contract_aw.asp', '&gt;&nbsp;Energy Ratings','http://www.newenergysolutions.ie/content/news/energy_ratings.asp', '&gt;&nbsp;AIB Green Cashback','http://www.newenergysolutions.ie/content/news/aib_green_cashb.asp', '&gt;&nbsp;Ireland 2100 Unless','http://www.newenergysolutions.ie/content/news/ireland_2100_un_.asp', '&gt;&nbsp;Meeting Commitments','http://www.newenergysolutions.ie/content/news/mee_commitments.asp'))








mIn_New_Y = mIn_New_Y+mIn_Y_OffSet;
mStLevel1Index = mStLevel1Index + '5,'

menuContent [6] = new Array ( -1, -1,width, xx, mIn_New_Y, new Array ( '&gt;&nbsp;Airtricity','http://www.newenergysolutions.ie/content/wind/airtricity.asp'))


mIn_New_Y = mIn_New_Y+mIn_Y_OffSet;
mStLevel1Index = mStLevel1Index + '6,'

menuContent [7] = new Array ( -1, -1,width, xx, mIn_New_Y, new Array ( '&gt;&nbsp;2006 Showcase','http://www.newenergysolutions.ie/content/clients/2006_showcase.asp'))


mIn_New_Y = mIn_New_Y+mIn_Y_OffSet;
mStLevel1Index = mStLevel1Index + '7,'

mIn_New_Y = mIn_New_Y+mIn_Y_OffSet;
mStLevel1Index = mStLevel1Index + '7,'

mIn_New_Y = mIn_New_Y+mIn_Y_OffSet;
mStLevel1Index = mStLevel1Index + '7,'

mIn_New_Y = mIn_New_Y+mIn_Y_OffSet;
mStLevel1Index = mStLevel1Index + '7,'

mIn_New_Y = mIn_New_Y+mIn_Y_OffSet;
mStLevel1Index = mStLevel1Index + '7,'

var loop=7;
