function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}
function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		rt_ptr_on = newImage("/media/system/cda/pim/ptr_cap.gif");
		preloadFlag = true;
	}
}




/*function mmLoadMenus() {
  
  window.mm_menu_0204142847_0 = new Menu("root",140,20,"Arial, Helvetica, sans-serif",11,"#333333","#008B8B","#ffffff","#ffffff","left","middle",3,0,200,-5,7,true,true,true,0,false,true);
  mm_menu_0204142847_0.addMenuItem("&nbsp;&nbsp;Dimond&nbsp;Ring","window.open('products.html', '_self');");
  mm_menu_0204142847_0.addMenuItem("&nbsp;&nbsp;Engagement&nbsp;Ring","window.open('products.html', '_self');");
  mm_menu_0204142847_0.addMenuItem("&nbsp;&nbsp;Gift&nbsp;Ring","window.open('products.html', '_self');");
  mm_menu_0204142847_0.addMenuItem("&nbsp;&nbsp;Platenium&nbsp;Ring","window.open('products.html', '_self');");
  mm_menu_0204142847_0.addMenuItem("&nbsp;&nbsp;Gold&nbsp;Ring","window.open('products.html', '_self');");
  mm_menu_0204142847_0.addMenuItem("&nbsp;&nbsp;Dimond&nbsp;Necklace","window.open('products.html', '_self');");
  
  
  
   mm_menu_0204142847_0.fontWeight='regular';
   mm_menu_0204142847_0.hideOnMouseOut=true;
   mm_menu_0204142847_0.bgColor=true;
   mm_menu_0204142847_0.menuBorder=1;
   mm_menu_0204142847_0.menuLiteBgColor='#C8B6A0';
   mm_menu_0204142847_0.menuBorderBgColor=false;
   
   window.mm_menu_0204142850_0 = new Menu("root",140,20,"Arial, Helvetica, sans-serif",11,"#333333","#008B8B","#ffffff","#ffffff","left","middle",3,0,200,-5,7,true,true,true,0,false,true);
  mm_menu_0204142850_0.addMenuItem("&nbsp;&nbsp;Mont&nbsp;Black&nbsp;","window.open('products.html', '_self');");
  mm_menu_0204142850_0.addMenuItem("&nbsp;&nbsp;Pearl&nbsp;","window.open('products.html', '_self');");
  mm_menu_0204142850_0.addMenuItem("&nbsp;&nbsp;Mitashi&nbsp;","window.open('products.html', '_self');");
  mm_menu_0204142850_0.addMenuItem("&nbsp;&nbsp;Kohinoor&nbsp;","window.open('products.html', '_self');");
  mm_menu_0204142850_0.addMenuItem("&nbsp;&nbsp;Platinum&nbsp;","window.open('products.html', '_self');");
  mm_menu_0204142850_0.addMenuItem("&nbsp;&nbsp;Mont&nbsp;Black&nbsp;","window.open('products.html', '_self');");
  
  
  
   mm_menu_0204142850_0.fontWeight='regular';
   mm_menu_0204142850_0.hideOnMouseOut=true;
   mm_menu_0204142850_0.bgColor=true;
   mm_menu_0204142850_0.menuBorder=1;
   mm_menu_0204142850_0.menuLiteBgColor='#C8B6A0';
   mm_menu_0204142850_0.menuBorderBgColor=false;
   
   window.mm_menu_0204142851_0 = new Menu("root",140,20,"Arial, Helvetica, sans-serif",11,"#333333","#008B8B","#ffffff","#ffffff","left","middle",3,0,200,-5,7,true,true,true,0,false,true);
  mm_menu_0204142851_0.addMenuItem("&nbsp;&nbsp;Engagement&nbsp;","window.open('products.html', '_self');");
  mm_menu_0204142851_0.addMenuItem("&nbsp;&nbsp;Birthday&nbsp;","window.open('products.html', '_self');");
  mm_menu_0204142851_0.addMenuItem("&nbsp;&nbsp;Anniversary&nbsp;","window.open('products.html', '_self');");
  mm_menu_0204142851_0.addMenuItem("&nbsp;&nbsp;Valentine&nbsp;day&nbsp;","window.open('products.html', '_self');");
  mm_menu_0204142851_0.addMenuItem("&nbsp;&nbsp;Marriage&nbsp;","window.open('products.html', '_self');");
  mm_menu_0204142851_0.addMenuItem("&nbsp;&nbsp;Engagement&nbsp;","window.open('products.html', '_self');");
  
  
  
   mm_menu_0204142851_0.fontWeight='regular';
   mm_menu_0204142851_0.hideOnMouseOut=true;
   mm_menu_0204142851_0.bgColor=true;
   mm_menu_0204142851_0.menuBorder=1;
   mm_menu_0204142851_0.menuLiteBgColor='#C8B6A0';
   mm_menu_0204142851_0.menuBorderBgColor=false;
   

window.mm_menu_0204142849_0 = new Menu("root",140,20,"Arial, Helvetica, sans-serif",11,"#333333","#008B8B","#ffffff","#ffffff","left","middle",3,0,200,-5,7,true,true,true,0,false,true);
  mm_menu_0204142849_0.addMenuItem("&nbsp;&nbsp;Delivery&nbsp;Info","window.open('#', '_self');");
  mm_menu_0204142849_0.addMenuItem("&nbsp;&nbsp;Privacy&nbsp;Policy","window.open('#', '_self');");
  mm_menu_0204142849_0.addMenuItem("&nbsp;&nbsp;Terms&nbsp;&&nbsp;Conditions","window.open('#', '_self');");
  mm_menu_0204142849_0.addMenuItem("&nbsp;&nbsp;FAQ&acute;s","window.open('#', '_self');");
  mm_menu_0204142849_0.addMenuItem("&nbsp;&nbsp;Support","window.open('#', '_self');");
  
  
   mm_menu_0204142849_0.fontWeight="regular";
   mm_menu_0204142849_0.hideOnMouseOut=true;
   mm_menu_0204142849_0.bgColor=true;
   mm_menu_0204142849_0.menuBorder=1;
   mm_menu_0204142849_0.menuLiteBgColor='#C8B6A0';
   mm_menu_0204142849_0.menuBorderBgColor=false;


   
   window.mm_menu_0204142848_0 = new Menu("root",140,23,"Arial, Helvetica, sans-serif",11,"#ffffff","#ffffff","#333333","#746630","left","middle",0,0,200,-5,7,false,true,true,0,false,true);
  mm_menu_0204142848_0.addMenuItem("&nbsp;&nbsp;Contemporary","window.open('products.htm', '_self');");
  mm_menu_0204142848_0.addMenuItem("&nbsp;&nbsp;Traditional","window.open('products.htm', '_self');");
  mm_menu_0204142848_0.addMenuItem("&nbsp;&nbsp;Coastal","window.open('products.htm', '_self');");
  mm_menu_0204142848_0.addMenuItem("&nbsp;&nbsp;Contemporary","window.open('products.htm', '_self');");
  mm_menu_0204142848_0.addMenuItem("&nbsp;&nbsp;Coastal","window.open('products.htm', '_self');");
  mm_menu_0204142848_0.addMenuItem("&nbsp;&nbsp;Transitional","window.open('products.htm', '_self');");
  
  
   mm_menu_0204142848_0.fontWeight="regular";
   mm_menu_0204142848_0.hideOnMouseOut=true;
   mm_menu_0204142848_0.bgColor=false;
   mm_menu_0204142848_0.menuBorder=0;
   mm_menu_0204142848_0.menuLiteBgColor='#C8B6A0';
   mm_menu_0204142848_0.menuBorderBgColor=false;
   
   
  

mm_menu_0204142848_0.writeMenus();
}*/

// JavaScript Document


function doChangeClass(obj){
	obj.className = obj.className.replace('Def','MO');
	if(obj.parent){
		document.getElementById(obj.parent).className = document.getElementById(obj.parent).className.replace('Def','MO');
	}
}
	

function doRestoreClass(obj){
	obj.className = obj.className.replace('MO','Def');
	if(obj.parent){
		document.getElementById(obj.parent).className = document.getElementById(obj.parent).className.replace('MO','Def');
	}
}

function doChangeClass1(obj){
	obj.className = obj.className.replace('Def1','MO1');
	if(obj.parent){
		document.getElementById(obj.parent).className = document.getElementById(obj.parent).className.replace('Def1','MO1');
	}
}
	

function doRestoreClass1(obj){
	obj.className = obj.className.replace('MO1','Def1');
	if(obj.parent){
		document.getElementById(obj.parent).className = document.getElementById(obj.parent).className.replace('MO1','Def1');
	}
}
