//
// websphere commerce
//
var MM_contentVersion = 6;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
var words = navigator.plugins["Shockwave Flash"].description.split(" ");
for (var i = 0; i < words.length; ++i)
{
if (isNaN(parseInt(words[i])))
continue;
var MM_PluginVersion = words[i]; 
}
var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
&& (navigator.appVersion.indexOf("Win") != -1)) {
document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
document.write('on error resume next \n');
document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
document.write('</SCR' + 'IPT\> \n');
}
if ( MM_FlashCanPlay ) {
} else{
var vpxxx = document.getElementById("mLIElement");vpxxx.className="";vpxxx.className="shopxxvIpad";var hosstyle=document.getElementById("mystile_ipad");hosstyle.className="";hosstyle.className="stylisthomeIpad";var vpxxx = document.getElementById("mPElement");vpxxx.className="";vpxxx.className="shopxp";
//***********************
//***********************
//***********************
//
//
//
//	 iPad users Khaleel Mughal RR WebSphere Commerce
//		SHOW footer for iPad and NON FLASH
//
//
//
//***********************
//***********************
//***********************
//var hidefoot = document.getElementById("footer_vp");
//hidefoot.className="";
//hidefoot.className="footer_vpxxx"; //shop,subtext
var divplayvr = document.getElementById("mDivElementV");
divplayvr.className="";
divplayvr.className="playvxHide"; //shop,subtext
}
$(document).ready(function () {
$(".shop").mouseover(function () {
$(this).stop().animate({
height: '206px'
}, {
queue: false,
duration: 600
})
});
$(".shop").mouseout(function () {
$(this).stop().animate({
height: '24px'
}, {
queue: false,
duration: 300
})
});
});
$(document).ready(function () {$('#gc_ad').cycle({fx: 'fade'});});if (document.images) {img1 = new Image();img1.src = "http://www.gc-cdn.com/assets/images/sprite_drop.png";img2 = new Image();img2.src = "http://www.gc-cdn.com/assets/images/ad.png";img3 = new Image();img3.src = "http://www.gc-cdn.com/assets/images/addtobag.png";img4 = new Image();img4.src = "http://www.gc-cdn.com/assets/images/arrow.png";img5 = new Image();img5.src = "http://www.gc-cdn.com/assets/images/arrow_myaccount.jpg";img6 = new Image();img6.src = "http://www.gc-cdn.com/assets/images/bag.png";img7 = new Image();img7.src = "http://www.gc-cdn.com/assets/images/blank.gif";img8 = new Image();img8.src = "http://www.gc-cdn.com/assets/images/blank.png";img9 = new Image();img9.src = "http://www.gc-cdn.com/assets/images/fb.png";img10 = new Image();img10.src = "http://www.gc-cdn.com/assets/images/logo.png";img11 = new Image();img11.src = "http://www.gc-cdn.com/assets/images/play.png";img12 = new Image();img12.src = "http://www.gc-cdn.com/assets/images/search.png";img13 = new Image();img13.src = "http://www.gc-cdn.com/assets/images/tel.png";img14 = new Image();img14.src = "http://www.gc-cdn.com/assets/images/tw.png";img15 = new Image();img15.src = "http://www.gc-cdn.com/assets/images/sprite_hover.gif";img216 = new Image();img216.src = "http://www.gc-cdn.com/assets/blog/imgs/nav_about_off.jpg";img217 = new Image();img217.src = "http://www.gc-cdn.com/assets/blog/imgs/nav_about_on.jpg";
img218 = new Image();img218.src = "http://www.gc-cdn.com/assets/blog/imgs/nav_contact_off.jpg";img219 = new Image();img219.src = "http://www.gc-cdn.com/assets/blog/imgs/nav_contact_on.jpg";img1ipad=new Image();img1ipad.src="http://www.gc-cdn.com/assets/images/ipad/nav_stylist_ipad.jpg";img12ipad=new Image();img12ipad.src="http://www.gc-cdn.com/assets/images/ipad/nav_stylist_ipad_on.jpg";ximg1ipad=new Image();ximg1ipad.src="http://www.gc-cdn.com/assets/images/ipad/nav_shop_ipad.jpg";
ximg12ipad=new Image();ximg12ipad.src="http://www.gc-cdn.com/assets/images/ipad/nav_shop_ipad_on.jpg";}if (document.images)
{
preload_image_object = new Image();
image_url = new Array();
image_url[0] = "http://www.gc-cdn.com/assets/images/newnav/celebstyle.jpg";image_url[1] = "http://www.gc-cdn.com/assets/images/newnav/celebstyle_h.jpg";image_url[2] = "http://www.gc-cdn.com/assets/images/newnav/clearance.jpg";image_url[3] = "http://www.gc-cdn.com/assets/images/newnav/clearance_h.jpg";image_url[4] = "http://www.gc-cdn.com/assets/images/newnav/clearanced.jpg";image_url[5] = "http://www.gc-cdn.com/assets/images/newnav/clearanced_h.jpg";
image_url[6] = "http://www.gc-cdn.com/assets/images/newnav/madetomeasure.jpg";image_url[7] = "http://www.gc-cdn.com/assets/images/newnav/madetomeasure_h.jpg";image_url[8] = "http://www.gc-cdn.com/assets/images/newnav/shop.jpg";
image_url[9] = "http://www.gc-cdn.com/assets/images/newnav/shop_h.jpg";image_url[10] = "http://www.gc-cdn.com/assets/images/newnav/signaturepieces.jpg";image_url[11] = "http://www.gc-cdn.com/assets/images/newnav/signaturepieces_h.jpg";image_url[12] = "http://www.gc-cdn.com/assets/images/newnav/stylistadvice.jpg";image_url[13] = "http://www.gc-cdn.com/assets/images/newnav/stylistadviceh.jpg";image_url[14] = "http://www.gc-cdn.com/assets/images/newnav/swarovskicollection.jpg";image_url[15] = "http://www.gc-cdn.com/assets/images/newnav/swarovskicollection_h.jpg";
image_url[16] = "http://www.gc-cdn.com/assets/images/newnav/swarovskistudded.jpg";
image_url[17] = "http://www.gc-cdn.com/assets/images/newnav/swarovskistudded_h.jpg";
image_url[18] = "http://www.gc-cdn.com/assets/images/newnav/weddingboutique.jpg";
image_url[19] = "http://www.gc-cdn.com/assets/images/newnav/weddingboutique_h.jpg";
var i = 0;
for(i=0; i<=19; i++) 
preload_image_object.src = image_url[i];
}
$(document).ready(function () {
  $('.fader').hover(function(){
  	$('img', this).stop().animate({"opacity": 0.8}
  );},
  function(){
  	$('img', this).stop().animate({"opacity":1});
  });	
});$(document).ready(function () {
$(".newshop").mouseover(function () {
$(this).stop().animate({
height: '267px',
display: 'block' //attempting a new block add for global fix - 25th jan 2012
}, {
queue: false,
duration: 600
})
});
$(".newshop").mouseout(function () {
$(this).stop().animate({
height: '24px'
}, {
queue: false,
duration: 300
})
});
}); 
