var disable_report = new Array();
var allowedType = new Array();
var disableEvent = new Array();
var levelPrint = 0;
var clickStatus = false;
var isTouch = (/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent));
var category_id = "";
var menuArrowObj = new Image();
menuArrowObj.src = '../images/menuarrowIn.gif';
var menuArrowObjIn = new Image();
menuArrowObjIn.src = '../images/menuarrow.gif';
var menuArrowObjOn = new Image();
menuArrowObjOn.src = '../images/menuarrowOn.gif';
function findPosX(obj){
var curleft = 0;
if (obj.offsetParent)
{
while (obj.offsetParent)
{
curleft += obj.offsetLeft
obj = obj.offsetParent;
}
}
else if (obj.x)
curleft += obj.x;
return curleft;
}
function findPosY(obj){
var curtop = 0;
if (obj.offsetParent)
{
while (obj.offsetParent)
{
curtop += obj.offsetTop
obj = obj.offsetParent;
}
}
else if (obj.x)
curtop += obj.x;
return curtop;
}
function disableMenu(itemDiv) {
if(itemDiv.level > 4) {
itemDiv.style.backgroundImage = 'url(' + menuArrowObjIn.src + ')';
}
itemDiv.itemNameDiv.style.color = '#808080';
}
function enableMenu(itemDiv) {
if(itemDiv.level > 4) {
itemDiv.style.backgroundImage = 'url(' + menuArrowObj.src + ')';
}
itemDiv.itemNameDiv.style.color = '#000000';
}
var testObj = document.createElement('DIV');
var commImage = document.createElement ('img');
commImage.src = '/proimages/whiteMOBullet.gif';
function addMenuItem(contObj, name, url, jsid, cssItemClass, cssContClass, innerCount, level, cnt){
var itemDiv = document.createElement('DIV');
contObj.appendChild(itemDiv);
itemDiv.style.width = '80px';
if(level == 1){
itemDiv.className = 'left';
var dividerImg = document.createElement ('img');
dividerImg.setAttribute ('border', 0);
dividerImg.setAttribute ('alt', '');
if( cnt > 0 ){
dividerImg.src = '/proimages/midbar.gif';
}
var divide1 = document.createElement('DIV');
divide1.style.width = '1px';
divide1.className = 'left';
//divide1.className = 'topmidFloat';
if( cnt > 0 ){
divide1.appendChild(dividerImg);
}
contObj.appendChild(divide1);
itemDiv.style.height = '35px';
//alert(jsid + "========" + category_id);
}
itemDiv.id = jsid;
itemDiv.className = cssItemClass;
itemDiv.cssItemClass = cssItemClass;
//itemDiv.style.border = '1px solid #ff0000';
itemDiv.style.width = '80px';
//itemDiv.noWrap = true;
itemDiv.level = level;
itemDiv.contObj = contObj;
itemDiv.innerCount = innerCount;
itemDiv.disable = false;
if(innerCount > 0) {
if(level > 1) {
itemDiv.style.backgroundRepeat = 'no-repeat';
itemDiv.style.backgroundPosition = '98% 50%';
itemDiv.style.width = '125px';
}
var containerObj = document.createElement('DIV');
containerObj.id = 'cont_' + jsid;
if(level > 1) {
containerObj.className = 'containerIn';
}else{
containerObj.className = cssContClass;
}
containerObj.style.zIndex = level;
containerObj.style.paddingBottom ='17px';
itemDiv.appendChild(containerObj);
var returnObj = containerObj;
}else{
var returnObj = contObj;
}
var itemNameDiv = document.createElement('DIV');
itemNameDiv.id = 'name_' + jsid;
itemDiv.insertBefore(itemNameDiv, itemDiv.firstChild);
if(level==1){
firstItem = 0;
tabObj = document.createElement('TABLE');
tabObj.style.width = '85px';
tabObj.align = 'center';
tabObj.style.height = '35px';
var tbodyObj = document.createElement('TBODY');
tabObj.appendChild(tbodyObj);
var numRows = tabObj.rows.length;
var TrObj = tabObj.insertRow(numRows);
var TdObj = TrObj.insertCell(0);
var divBotObj = document.createElement('DIV');
divBotObj.className = 'divBot';
divBotObj.id = jsid + 'txt';
divBotObj.innerHTML = name;
TdObj.appendChild(divBotObj);
itemNameDiv.appendChild(tabObj);
}else{
if(name!=''){
itemNameDiv.style.paddingTop = '5px';
itemNameDiv.style.paddingBottom = '5px';
if((level==2)&&(firstItem==0)){
itemNameDiv.style.paddingTop = '0px';
var topSpacer = document.createElement('DIV');
topSpacer.style.width = '70px';
topSpacer.style.height = '20px';
topSpacer.style.borderTop = '1px solid #FFFFFF';
topSpacer.style.position = 'absolute';
tmp = findPosY(itemNameDiv);
topSpacer.style.top = topSpacer.style.top - 1;
itemNameDiv.appendChild(topSpacer);
var topSpacer = document.createElement('DIV');
topSpacer.style.width = '70px';
topSpacer.style.height = '20px';
itemNameDiv.appendChild(topSpacer);
firstItem = 1;
}
itemNameDiv.style.paddingLeft = '2px';
itemNameDiv.style.textAlign = 'left';
itemNameDiv.style.width = '122px';
itemNameDiv.style.paddingTop = '0px';
itemNameDiv.style.color = '#FFFFFF';
if (level > 4) {
itemNameDiv.innerHTML = itemNameDiv.innerHTML + ' ' + "" + name + "";
} else {
itemNameDiv.innerHTML = itemNameDiv.innerHTML + ' ' + name;
}
if((level==2)&&(firstItem==0)){
firstItem=1;
}
}
}
//itemNameDiv.style.whiteSpace = 'nowrap';
if(url == '') {
itemDiv.disable = true;
}
var selectObj = document.getElementsByTagName('SELECT');
itemDiv.selectObj = selectObj;
itemDiv.itemNameDiv = itemNameDiv;
if (level >= 0) {
itemDiv.onmouseover = function(e){
if(this.disable == true) {
return false;
}
for(var i=0; i 1) {
this.itemNameDiv.style.color = '#b38786';
var reqWidth = this.parentNode.offsetWidth - 14;
if(reqWidth > this.offsetWidth) {
this.style.width = reqWidth;
}
}
var containerObj = document.getElementById('cont_' + this.id);
//containerObj.style.paddingBottom = '17px';
//if the link is HOME or WHAT'S NEW then provide hand on mouseover
if(jsid == "menu_C09" || jsid == "menu_C89" || jsid == "menu_C600" || jsid == "menu_C900"){
this.className = this.cssItemClass + 'static';
}else if (jsid == "menu_C601"){
this.className = this.cssItemClass + 'Blank';
}else{
this.className = this.cssItemClass + 'In';
}
if(containerObj){
containerObj.itemDiv = this;
containerObj.style.visibility = 'visible';
containerObj.style.display = 'block';
if(containerObj.childNodes.length > 0) {
containerObj.style.border = '1px solid #FFF';
containerObj.style.marginLeft = '-1px';
}
if(this.level == 1) {
containerObj.style.top = this.offsetTop + this.offsetHeight + 65;
containerObj.style.left = findPosX(containerObj.parentNode);
}else{
containerObj.style.top = this.offsetHeight - 27;
containerObj.style.left = this.offsetWidth;
}
containerObj.onmouseover = function(e){
this.itemDiv.className = this.itemDiv.cssItemClass + 'In';
this.style.visibility = 'visible';
}
}
if(isTouch && this.level > 1) {
if(this.disable == true) {
return false;
}
if(clickStatus == false) {
if(this.url != '#' && this.url != 'javascript:void(0)'){
clickStatus = true;
location.href = this.url;
}
}
}
}
itemDiv.onmouseout = function(e){
if(this.disable == true) {
return false;
}
if(this.level > 1) {
this.itemNameDiv.style.color = '#FFFFFF';
}
var containerObj = document.getElementById('cont_' + this.id);
this.className = this.cssItemClass;
for(var i=0; i 0 && this.level > 1) {
//itemDiv.style.backgroundImage = 'url(' + menuArrowObj.src + ')';
itemDiv.style.backgroundRepeat = 'no-repeat';
itemDiv.style.backgroundPosition = '98% 50%';
}
if(containerObj){
containerObj.itemDiv = this;
containerObj.style.visibility = 'hidden';
containerObj.onmouseout = function(e){
this.itemDiv.className = this.itemDiv.cssItemClass;
}
}
}
itemDiv.url = url;
itemDiv.onclick = function(e) {
if(this.disable == true) {
return false;
}
if(clickStatus == false) {
if(this.url != '#' && this.url != 'javascript:void(0)'){
clickStatus = true;
location.href = this.url;
}
}
};
}
// itemDiv.style.border = '1px solid #FF0';
// alert(itemDiv.innerHTML);
return returnObj;
}
function loadMenu(){
var contObj = document.getElementById('topmenu');
// contObj.style.position = 'absolute';
var contObj = addMenuItem(contObj, "HOME", "index.php", 'menu_C09', 'left mainItem', 'container', 0, 1, 9);
var contObj = addMenuItem(contObj, "JEWELLERY", "javascript:void(0)", 'menu_C2', 'left mainItem', 'container', 14, 1, 8);
var contObj = addMenuItem(contObj, "Evil Eye", "products.php?c_id=24", 'menu_C24', 'subItem', 'container', 5, 2, 12);
var contObj = addMenuItem(contObj, "Evil Eye Bracelets", "products.php?c_id=64", 'menu_C64', 'subItem', 'container', 1, 3, 3);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Evil eye earrings", "products.php?c_id=66", 'menu_C66', 'subItem', 'container', 1, 3, 2);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Evil eye necklaces", "products.php?c_id=65", 'menu_C65', 'subItem', 'container', 1, 3, 1);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Evil Eye Pendants and Charms", "products.php?c_id=72", 'menu_C72', 'subItem', 'container', 1, 3, 0);
var contObj = contObj.parentNode.parentNode;
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Rings", "products.php?c_id=28", 'menu_C28', 'subItem', 'container', 6, 2, 11);
var contObj = addMenuItem(contObj, "Eternity Rings", "products.php?c_id=77", 'menu_C77', 'subItem', 'container', 1, 3, 4);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Casual Rings", "products.php?c_id=79", 'menu_C79', 'subItem', 'container', 1, 3, 3);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Precious Stones", "products.php?c_id=74", 'menu_C74', 'subItem', 'container', 1, 3, 2);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Simply Diamonds", "products.php?c_id=73", 'menu_C73', 'subItem', 'container', 1, 3, 1);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Semi Precious Stones", "products.php?c_id=75", 'menu_C75', 'subItem', 'container', 1, 3, 0);
var contObj = contObj.parentNode.parentNode;
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Pearls", "products.php?c_id=40", 'menu_C40', 'subItem', 'container', 5, 2, 10);
var contObj = addMenuItem(contObj, "Pearl Necklaces", "products.php?c_id=80", 'menu_C80', 'subItem', 'container', 1, 3, 3);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Pearl Earrings", "products.php?c_id=82", 'menu_C82', 'subItem', 'container', 1, 3, 2);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Pearl Pendants", "products.php?c_id=83", 'menu_C83', 'subItem', 'container', 1, 3, 1);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Pearl Bracelets", "products.php?c_id=81", 'menu_C81', 'subItem', 'container', 1, 3, 0);
var contObj = contObj.parentNode.parentNode;
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Bracelets", "products.php?c_id=45", 'menu_C45', 'subItem', 'container', 6, 2, 9);
var contObj = addMenuItem(contObj, "Simply Diamonds", "products.php?c_id=84", 'menu_C84', 'subItem', 'container', 1, 3, 4);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Precious Stones", "products.php?c_id=85", 'menu_C85', 'subItem', 'container', 1, 3, 3);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Casual Bracelets", "products.php?c_id=87", 'menu_C87', 'subItem', 'container', 1, 3, 2);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Semi Precious Stones", "products.php?c_id=86", 'menu_C86', 'subItem', 'container', 1, 3, 1);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Cuffs", "products.php?c_id=88", 'menu_C88', 'subItem', 'container', 1, 3, 0);
var contObj = contObj.parentNode.parentNode;
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Necklaces", "products.php?c_id=4", 'menu_C4', 'subItem', 'container', 6, 2, 8);
var contObj = addMenuItem(contObj, "Diamonds and Precious Stones", "products.php?c_id=90", 'menu_C90', 'subItem', 'container', 1, 3, 4);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Semi Precious Stones", "products.php?c_id=91", 'menu_C91', 'subItem', 'container', 1, 3, 3);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Pendants and Charms", "products.php?c_id=92", 'menu_C92', 'subItem', 'container', 1, 3, 2);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Casual Necklaces", "products.php?c_id=93", 'menu_C93', 'subItem', 'container', 1, 3, 1);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Simply Diamonds", "products.php?c_id=89", 'menu_C89', 'subItem', 'container', 1, 3, 0);
var contObj = contObj.parentNode.parentNode;
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Pendants", "products.php?c_id=6", 'menu_C6', 'subItem', 'container', 6, 2, 7);
var contObj = addMenuItem(contObj, "Simply Diamonds", "products.php?c_id=120", 'menu_C120', 'subItem', 'container', 1, 3, 4);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Pearls", "products.php?c_id=123", 'menu_C123', 'subItem', 'container', 1, 3, 3);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Semi Precious Stones", "products.php?c_id=122", 'menu_C122', 'subItem', 'container', 1, 3, 2);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Precious Stones", "products.php?c_id=121", 'menu_C121', 'subItem', 'container', 1, 3, 1);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Casual Pendants", "products.php?c_id=124", 'menu_C124', 'subItem', 'container', 1, 3, 0);
var contObj = contObj.parentNode.parentNode;
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Brooches", "products.php?c_id=130", 'menu_C130', 'subItem', 'container', 1, 2, 6);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Cuffs", "products.php?c_id=38", 'menu_C38', 'subItem', 'container', 1, 2, 5);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Cufflinks", "products.php?c_id=29", 'menu_C29', 'subItem', 'container', 1, 2, 4);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Crocodile & Lizard", "products.php?c_id=39", 'menu_C39', 'subItem', 'container', 1, 2, 3);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Earrings", "products.php?c_id=20", 'menu_C20', 'subItem', 'container', 6, 2, 2);
var contObj = addMenuItem(contObj, "Simply Diamonds", "products.php?c_id=67", 'menu_C67', 'subItem', 'container', 1, 3, 4);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Precious Stones", "products.php?c_id=68", 'menu_C68', 'subItem', 'container', 1, 3, 3);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Semi Precious Stones", "products.php?c_id=69", 'menu_C69', 'subItem', 'container', 1, 3, 2);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamond Hoops", "products.php?c_id=71", 'menu_C71', 'subItem', 'container', 1, 3, 1);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Pearls", "products.php?c_id=70", 'menu_C70', 'subItem', 'container', 1, 3, 0);
var contObj = contObj.parentNode.parentNode;
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Interchangeable Earrings", "products.php?c_id=21", 'menu_C21', 'subItem', 'container', 5, 2, 1);
var contObj = addMenuItem(contObj, "Diamonds and Precious Stones", "products.php?c_id=126", 'menu_C126', 'subItem', 'container', 1, 3, 3);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Semi Precious Stones", "products.php?c_id=127", 'menu_C127', 'subItem', 'container', 1, 3, 2);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Pearls", "products.php?c_id=128", 'menu_C128', 'subItem', 'container', 1, 3, 1);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Simply Diamonds", "products.php?c_id=125", 'menu_C125', 'subItem', 'container', 1, 3, 0);
var contObj = contObj.parentNode.parentNode;
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Hoops", "products.php?c_id=41", 'menu_C41', 'subItem', 'container', 6, 2, 0);
var contObj = addMenuItem(contObj, "Simply Diamonds", "products.php?c_id=94", 'menu_C94', 'subItem', 'container', 1, 3, 4);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Precious Stones", "products.php?c_id=95", 'menu_C95', 'subItem', 'container', 1, 3, 3);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Pearls", "products.php?c_id=118", 'menu_C118', 'subItem', 'container', 1, 3, 2);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Casual Hoops", "products.php?c_id=119", 'menu_C119', 'subItem', 'container', 1, 3, 1);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Semi Precious Stones", "products.php?c_id=96", 'menu_C96', 'subItem', 'container', 1, 3, 0);
var contObj = contObj.parentNode.parentNode;
var contObj = contObj.parentNode.parentNode;
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "DIAMONDS", "javascript:void(0)", 'menu_C1', 'left mainItem', 'container', 8, 1, 7);
var contObj = addMenuItem(contObj, "Rings", "products.php?c_id=5", 'menu_C5', 'subItem', 'container', 4, 2, 6);
var contObj = addMenuItem(contObj, "Simply Diamonds", "products.php?c_id=98", 'menu_C98', 'subItem', 'container', 1, 3, 2);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Precious Stones", "products.php?c_id=99", 'menu_C99', 'subItem', 'container', 1, 3, 1);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Semi Precious Stones", "products.php?c_id=100", 'menu_C100', 'subItem', 'container', 1, 3, 0);
var contObj = contObj.parentNode.parentNode;
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Bracelets", "products.php?c_id=3", 'menu_C3', 'subItem', 'container', 4, 2, 5);
var contObj = addMenuItem(contObj, "Simply Diamonds", "products.php?c_id=101", 'menu_C101', 'subItem', 'container', 1, 3, 2);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Precious Stones", "products.php?c_id=106", 'menu_C106', 'subItem', 'container', 1, 3, 1);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Semi Precious Stones", "products.php?c_id=107", 'menu_C107', 'subItem', 'container', 1, 3, 0);
var contObj = contObj.parentNode.parentNode;
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Earrings", "products.php?c_id=9", 'menu_C9', 'subItem', 'container', 6, 2, 4);
var contObj = addMenuItem(contObj, "Simply Diamonds", "products.php?c_id=108", 'menu_C108', 'subItem', 'container', 1, 3, 4);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Precious Stones", "products.php?c_id=109", 'menu_C109', 'subItem', 'container', 1, 3, 3);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Semi Precious Stones", "products.php?c_id=110", 'menu_C110', 'subItem', 'container', 1, 3, 2);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Pearls", "products.php?c_id=111", 'menu_C111', 'subItem', 'container', 1, 3, 1);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamond Hoops", "products.php?c_id=112", 'menu_C112', 'subItem', 'container', 1, 3, 0);
var contObj = contObj.parentNode.parentNode;
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Necklaces", "products.php?c_id=42", 'menu_C42', 'subItem', 'container', 6, 2, 3);
var contObj = addMenuItem(contObj, "Simply Diamonds", "products.php?c_id=113", 'menu_C113', 'subItem', 'container', 1, 3, 4);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Precious Stones", "products.php?c_id=114", 'menu_C114', 'subItem', 'container', 1, 3, 3);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Semi Precious Stones", "products.php?c_id=115", 'menu_C115', 'subItem', 'container', 1, 3, 2);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamonds and Pearls", "products.php?c_id=116", 'menu_C116', 'subItem', 'container', 1, 3, 1);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Pendants and Charms", "products.php?c_id=117", 'menu_C117', 'subItem', 'container', 1, 3, 0);
var contObj = contObj.parentNode.parentNode;
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Eternity rings", "products.php?c_id=44", 'menu_C44', 'subItem', 'container', 1, 2, 2);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Diamond studs with attachments", "products.php?c_id=23", 'menu_C23', 'subItem', 'container', 1, 2, 1);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Engagement Rings", "products.php?c_id=61", 'menu_C61', 'subItem', 'container', 1, 2, 0);
var contObj = contObj.parentNode.parentNode;
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "GIFTS", "javascript:void(0)", 'menu_C11', 'left mainItem', 'container', 8, 1, 6);
var contObj = addMenuItem(contObj, "Baby Gifts", "products.php?c_id=18", 'menu_C18', 'subItem', 'container', 1, 2, 6);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "For her", "products.php?c_id=30", 'menu_C30', 'subItem', 'container', 1, 2, 5);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "For Him", "products.php?c_id=31", 'menu_C31', 'subItem', 'container', 1, 2, 4);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "For the batmitzvah girl", "products.php?c_id=49", 'menu_C49', 'subItem', 'container', 1, 2, 3);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "For the bridesmaid", "products.php?c_id=50", 'menu_C50', 'subItem', 'container', 1, 2, 2);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "For the blushing bride", "products.php?c_id=53", 'menu_C53', 'subItem', 'container', 1, 2, 1);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Crocodile & Lizard gifts", "products.php?c_id=134", 'menu_C134', 'subItem', 'container', 2, 2, 0);
var contObj = addMenuItem(contObj, "Credit Card Holders", "products.php?c_id=135", 'menu_C135', 'subItem', 'container', 1, 3, 0);
var contObj = contObj.parentNode.parentNode;
var contObj = contObj.parentNode.parentNode;
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "SILVER", "javascript:void(0)", 'menu_C22', 'left mainItem', 'container', 5, 1, 5);
var contObj = addMenuItem(contObj, "Keyrings", "products.php?c_id=55", 'menu_C55', 'subItem', 'container', 1, 2, 3);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "For the desk", "products.php?c_id=62", 'menu_C62', 'subItem', 'container', 1, 2, 2);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "For the home", "products.php?c_id=63", 'menu_C63', 'subItem', 'container', 1, 2, 1);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Jewellery", "products.php?c_id=131", 'menu_C131', 'subItem', 'container', 1, 2, 0);
var contObj = contObj.parentNode.parentNode;
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "FUN", "javascript:void(0)", 'menu_C13', 'left mainItem', 'container', 4, 1, 4);
var contObj = addMenuItem(contObj, "Lola Rose", "products.php?c_id=16", 'menu_C16', 'subItem', 'container', 1, 2, 2);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Kipepeo", "products.php?c_id=17", 'menu_C17', 'subItem', 'container', 1, 2, 1);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Angie Gooderham", "products.php?c_id=54", 'menu_C54', 'subItem', 'container', 1, 2, 0);
var contObj = contObj.parentNode.parentNode;
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "WATCHES", "javascript:void(0)", 'menu_C12', 'left mainItem', 'container', 5, 1, 3);
var contObj = addMenuItem(contObj, "Elini - La Petite", "products.php?c_id=14", 'menu_C14', 'subItem', 'container', 1, 2, 3);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Elini - New Yorker", "products.php?c_id=15", 'menu_C15', 'subItem', 'container', 1, 2, 2);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Elini New Yorker - top diamonds", "products.php?c_id=56", 'menu_C56', 'subItem', 'container', 1, 2, 1);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "Elini New Yorker - full diamonds", "products.php?c_id=58", 'menu_C58', 'subItem', 'container', 1, 2, 0);
var contObj = contObj.parentNode.parentNode;
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "LIFESTYLE", "gallery.php", 'menu_C900', 'left mainItem', 'container', 1, 1, 2);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "IDEAS", "idea_categories.php", 'menu_C600', 'left mainItem', 'container', 1, 1, 1);
var contObj = contObj.parentNode.parentNode;
var contObj = addMenuItem(contObj, "WHAT'S NEW", "what_new.php", 'menu_C89', 'left mainItem', 'container', 1, 1, 0);
var contObj = contObj.parentNode.parentNode;
}