function dynObj(id,x,y,w,h){this.el=(document.getElementById)?document.getElementById(id):(document.all)?document.all[id]:(document.layers)?getLyrRef(id,document):null;if(!this.el)return null;this.doc=(document.layers)?this.el.document:this.el;this.css=(this.el.style)?this.el.style:this.el;var px=(document.layers||window.opera)?"":"px";this.x=x||0;if(x)this.css.left=this.x+px;this.y=y||0;if(y)this.css.top=this.y+px;this.width=w?w:(this.el.offsetWidth)?this.el.offsetWidth:(this.css.clip.width)?this.css.clip.width:0;this.height=h?h:(this.el.offsetHeight)?this.el.offsetHeight:(this.css.clip.height)?this.css.clip.height:0;if(w){(document.layers)?this.css.clip.width=w+px:this.css.width=w+px;}
if(h){(document.layers)?this.css.clip.height=h+px:this.css.height=h+px;}
this.obj=id+"dynObj";eval(this.obj+"=this");}
function dw_show(){this.css.visibility="visible";}
function dw_hide(){this.css.visibility="hidden";}
function dw_shiftTo(x,y){if(x!=null)this.x=x;if(y!=null)this.y=y;if(this.css.moveTo){this.css.moveTo(Math.round(this.x),Math.round(this.y));}else{this.css.left=Math.round(this.x)+"px";this.css.top=Math.round(this.y)+"px";}}
function dw_shiftBy(x,y){this.shiftTo(this.x+x,this.y+y);}
function dw_writeLyr(cntnt){if(typeof this.doc.innerHTML!="undefined"){this.doc.innerHTML=cntnt;}else if(document.layers){this.doc.write(cntnt);this.doc.close();}}
function dw_setBgClr(bg){if(document.layers)this.doc.bgColor=bg;else this.css.backgroundColor=bg;}
dynObj.prototype.show=dw_show;dynObj.prototype.hide=dw_hide;dynObj.prototype.shiftTo=dw_shiftTo;dynObj.prototype.shiftBy=dw_shiftBy;dynObj.prototype.writeLyr=dw_writeLyr;dynObj.prototype.setBgClr=dw_setBgClr;function getLyrRef(lyr,doc){if(document.layers){var theLyr;for(var i=0;i<doc.layers.length;i++){theLyr=doc.layers[i];if(theLyr.name==lyr)return theLyr;else if(theLyr.document.layers.length>0)
if((theLyr=getLyrRef(lyr,theLyr.document))!=null)
return theLyr;}
return null;}};dynObj.prototype.centerIn=function(outer){var outWd,outHt,inWd,inHt,x,y;if(eval(outer)==window){outWd=getWinWidth();outHt=getWinHeight();}else{outWd=outer.width;outHt=outer.height;}
inWd=this.width;inHt=this.height;x=Math.round((outWd-inWd)/2);y=Math.round((outHt-inHt)/2);this.shiftTo(x,y);}
function getWidth(obj,id){var wd=0;if(document.getElementById||document.all){var elem;if(id)elem=(document.getElementById)?document.getElementById(id):document.all[id];else elem=obj;if(elem.offsetWidth)wd=elem.offsetWidth;}else if(obj.document)wd=obj.document.width;return wd;}
function getHeight(obj,id){var ht=0;if(document.getElementById||document.all){var elem;if(id)elem=(document.getElementById)?document.getElementById(id):document.all[id];else elem=obj;if(elem.offsetHeight)ht=elem.offsetHeight;}else if(obj.document)ht=obj.document.height;return ht;}
function getWinWidth(){var winWd=0;if(document.documentElement&&document.documentElement.clientWidth)
winWd=document.documentElement.clientWidth;else if(document.body&&document.body.clientWidth)
winWd=document.body.clientWidth;else if(document.body&&document.body.offsetWidth)
winWd=document.body.offsetWidth;else if(window.innerWidth)winWd=window.innerWidth-18;return winWd;}
function getWinHeight(){var winHt=0;if(window.innerHeight)winHt=window.innerHeight-18;else if(document.documentElement&&document.documentElement.clientHeight)
winHt=document.documentElement.clientHeight;else if(document.body&&document.body.clientHeight)
winHt=document.body.clientHeight;return winHt;}
function getScrollY(){var scroll_y=0;if(document.documentElement&&document.documentElement.scrollTop)
scroll_y=document.documentElement.scrollTop;else if(document.body&&document.body.scrollTop)
scroll_y=document.body.scrollTop;else if(window.pageYOffset)
scroll_y=window.pageYOffset;else if(window.scrollY)
scroll_y=window.scrollY;return scroll_y;}
function getScrollX(){var scroll_x=0;if(document.documentElement&&document.documentElement.scrollLeft)
scroll_x=document.documentElement.scrollLeft;else if(document.body&&document.body.scrollLeft)
scroll_x=document.body.scrollLeft;else if(window.pageXOffset)
scroll_x=window.pageXOffset;else if(window.scrollX)
scroll_x=window.scrollX;return scroll_x;}
function ConstructURL(url,removeterms,addterms){var params=BuildURLArray(url);var newurl="";for(var i=0;i<params.length;i++){val=CheckArray(removeterms,params[i][0]);if(val==-1)
newurl=newurl+"&"+params[i][0]+"="+params[i][1];}
for(var i=0;i<addterms.length;i++){newurl=newurl+"&"+addterms[i];}
if(newurl.length>0){newurl=newurl.substr(1);newurl="?"+newurl;}
else{newurl="?N="+eneroot;}
return newurl;}
function BuildURLArray(oldurl){var returnArray=new Array();var url;if(oldurl=="CURRENTURL")
url=location.search;else if(oldurl=="BLANKURL"){}
else{var tokens=oldurl.split("?");url="?"+tokens[1];}
if(url){url=url.substr(1);var params=url.split("&");for(var i=0;i<params.length;i++){var param=params[i].split("=");returnArray[i]=param;}}
return returnArray;}
function CheckArray(removeterms,checkterm){for(var i=0;i<removeterms.length;i++){if(removeterms[i]==checkterm)
return 1;}
return-1;}
function GetValue(url,term){var params=BuildURLArray(url);for(var i=0;i<params.length;i++){if(params[i][0]==term){return params[i][1];}}
return-1;}
var agt=navigator.userAgent.toLowerCase();var is_mac=(agt.indexOf("mac")!=-1);var is_win=((agt.indexOf("win")!=-1)||(agt.indexOf("16bit")!=-1));var is_major=parseInt(navigator.appVersion);var msie_vers_start=agt.indexOf("msie")+5;var msie_real_vers=parseFloat(agt.substring(msie_vers_start,msie_vers_start+3));var is_linux=(agt.indexOf("inux")!=-1);var is_nav=((agt.indexOf('mozilla')!=-1)&&(agt.indexOf('spoofer')==-1)&&(agt.indexOf('compatible')==-1)&&(agt.indexOf('opera')==-1)&&(agt.indexOf('webtv')==-1));var is_nav6=(is_nav&&(agt.indexOf('netscape6')!=-1));var is_nav4up=(is_nav&&(is_major>=4));var is_nav4=(is_nav&&(is_major==4));var is_ie=(agt.indexOf("msie")!=-1);var is_ie3=(is_ie&&(is_major<4));var is_ie4=(is_ie&&(is_major==4)&&(msie_real_vers<5));var is_ie4up=(is_ie&&(is_major>=4));var is_ie5up=(is_ie&&!is_ie3&&!is_ie4);;dynObj.prototype.getClipValues=function(){if(typeof this.css.clip!="undefined"){var clipVal=new Array();if(typeof this.css.clip.top!="undefined"){clipVal[0]=this.css.clip.top;clipVal[1]=this.css.clip.right;clipVal[2]=this.css.clip.bottom;clipVal[3]=this.css.clip.left;}else{clipVal=this.css.clip.slice(5,-1).split(' ');for(var i=0;i<4;i++){clipVal[i]=parseInt(clipVal[i]);}}
return clipVal;}
else return false;}
dynObj.prototype.clipBy=function(top,rt,btm,lft){if(typeof this.css.clip!="undefined"){if(typeof this.css.clip.top!="undefined"){this.css.clip.top+=top;this.css.clip.right+=rt;this.css.clip.bottom+=btm;this.css.clip.left+=lft;}else{var clipVal=this.getClipValues();this.css.clip="rect("+Number(clipVal[0]+top)+"px, "+Number(clipVal[1]+rt)+"px, "+Number(clipVal[2]+btm)+"px, "+Number(clipVal[3]+lft)+"px)";}}}
dynObj.prototype.clipTo=function(top,rt,btm,lft){if(typeof this.css.clip!="undefined"){if(typeof this.css.clip.top!="undefined"){this.css.clip.top=top;this.css.clip.right=rt;this.css.clip.bottom=btm;this.css.clip.left=lft;}else{this.css.clip="rect("+top+"px, "+rt+"px, "+btm+"px, "+lft+"px)";}}};var wipe_halt=false;dynObj.prototype.wipe=function(which,delay,wipeTime,fn){if(wipe_halt||this.wiping)return;this.wipeTime=wipeTime||1000;this.delay=delay||100;this.fn=fn;switch(which){case"in right":this.clipTo(0,0,this.height,0);this.show();setTimeout(this.obj+".wipe_in_rt()",this.delay);break;case"in center":this.vCenter=Math.ceil(this.height/2);this.hCenter=Math.ceil(this.width/2);this.clipTo(this.vCenter,this.hCenter,this.vCenter,this.hCenter);this.show();setTimeout(this.obj+".wipe_in_center()",this.delay);break;case"in corner":this.clipTo(0,0,0,0);this.show();setTimeout(this.obj+".wipe_in_corner()",this.delay);break;case"in top":this.clipTo(0,0,0,0);this.show();setTimeout(this.obj+".wipe_in_top()",this.delay);break;case"out center":this.vCenter=Math.ceil(this.height/2);this.hCenter=Math.ceil(this.width/2);setTimeout(this.obj+".wipe_out_center()",this.delay);break;case"out left":setTimeout(this.obj+".wipe_out_left()",this.delay);break;case"out right":setTimeout(this.obj+".wipe_out_right()",this.delay);break;case"out middle":this.dest=Math.ceil(this.width/2);setTimeout(this.obj+".wipe_out_mid()",this.delay);break;case"out corner":setTimeout(this.obj+".wipe_out_corner()",this.delay);break;case"out top":setTimeout(this.obj+".wipe_out_top()",this.delay);break;case"out bottom":setTimeout(this.obj+".wipe_out_bottom()",this.delay);break;case"out top left":setTimeout(this.obj+".wipe_out_top_left()",this.delay);break;default:alert("Oops! Check choices again.");}
this.wipeStart=new Date().getTime()+this.delay;this.per=Math.PI/(2*this.wipeTime);}
dynObj.prototype.wipe_in_rt=function(){this.wiping=true;var clipVal=this.getClipValues();var elapsed=(new Date().getTime())-this.wipeStart;if(elapsed<this.wipeTime){var inc=this.width*((1/this.wipeTime)*elapsed);this.clipTo(0,inc,this.height,0);setTimeout(this.obj+".wipe_in_rt()",35);}else{this.clipTo(0,this.width,this.height,0);this.wiping=false;if(this.fn)eval(this.fn);}}
dynObj.prototype.wipe_in_center=function(){this.wiping=true;var clipVal=this.getClipValues();var elapsed=(new Date().getTime())-this.wipeStart;if(elapsed<this.wipeTime){var vinc=this.vCenter*((1/this.wipeTime)*elapsed);var hinc=this.hCenter*((1/this.wipeTime)*elapsed);this.clipTo(this.vCenter-vinc,this.hCenter+hinc,this.vCenter+vinc,this.hCenter-hinc);setTimeout(this.obj+".wipe_in_center()",35);}else{this.clipTo(0,this.width,this.height,0);this.wiping=false;if(this.fn)eval(this.fn);}}
dynObj.prototype.wipe_in_corner=function(){this.wiping=true;var clipVal=this.getClipValues();var elapsed=(new Date().getTime())-this.wipeStart;if(elapsed<this.wipeTime){var vinc=this.height*((1/this.wipeTime)*elapsed);var hinc=this.width*((1/this.wipeTime)*elapsed);this.clipTo(0,hinc,vinc,0);setTimeout(this.obj+".wipe_in_corner()",35);}else{this.clipTo(0,this.width,this.height,0);this.wiping=false;if(this.fn)eval(this.fn);}}
dynObj.prototype.wipe_in_top=function(){this.wiping=true;var clipVal=this.getClipValues();var elapsed=(new Date().getTime())-this.wipeStart;if(elapsed<this.wipeTime){var inc=this.height*((1/this.wipeTime)*elapsed);this.clipTo(0,this.width,inc,0);setTimeout(this.obj+".wipe_in_top()",35);}else{this.clipTo(0,this.width,this.height,0);this.wiping=false;if(this.fn)eval(this.fn);}}
dynObj.prototype.wipe_out_center=function(){this.wiping=true;var clipVal=this.getClipValues();var elapsed=(new Date().getTime())-this.wipeStart;if(elapsed<this.wipeTime){var vinc=this.vCenter*((1/this.wipeTime)*elapsed);var hinc=this.hCenter*((1/this.wipeTime)*elapsed);this.clipTo(vinc,this.width-hinc,this.height-vinc,hinc);setTimeout(this.obj+".wipe_out_center()",35);}else{this.clipTo(this.vCenter,this.hCenter,this.vCenter,this.hCenter);this.wiping=false;if(this.fn)eval(this.fn);}}
dynObj.prototype.wipe_out_left=function(){this.wiping=true;var clipVal=this.getClipValues();var elapsed=(new Date().getTime())-this.wipeStart;if(elapsed<this.wipeTime){var inc=this.width*((1/this.wipeTime)*elapsed);this.clipTo(0,this.width-inc,this.height,0);setTimeout(this.obj+".wipe_out_left()",35);}else{this.clipTo(0,0,this.height,0);this.wiping=false;if(this.fn)eval(this.fn);}}
dynObj.prototype.wipe_out_right=function(){this.wiping=true;var clipVal=this.getClipValues();var elapsed=(new Date().getTime())-this.wipeStart;if(elapsed<this.wipeTime){var inc=this.width*((1/this.wipeTime)*elapsed);this.clipTo(0,this.width,this.height,inc);setTimeout(this.obj+".wipe_out_right()",35);}else{this.clipTo(0,this.width,this.height,this.width);this.wiping=false;if(this.fn)eval(this.fn);}}
dynObj.prototype.wipe_out_mid=function(){this.wiping=true;var clipVal=this.getClipValues();var elapsed=(new Date().getTime())-this.wipeStart;if(elapsed<this.wipeTime){var inc=-this.dest*Math.cos(this.per*elapsed)+this.dest;this.clipTo(0,this.width-inc,this.height,inc);setTimeout(this.obj+".wipe_out_mid()",35);}else{this.clipTo(0,this.dest,this.height,this.dest);this.wiping=false;if(this.fn)eval(this.fn);}}
dynObj.prototype.wipe_out_corner=function(){this.wiping=true;var clipVal=this.getClipValues();var elapsed=(new Date().getTime())-this.wipeStart;if(elapsed<this.wipeTime){var vinc=-this.height*Math.cos(this.per*elapsed)+this.height;var hinc=-this.width*Math.cos(this.per*elapsed)+this.width;this.clipTo(vinc,this.width,this.height,hinc);setTimeout(this.obj+".wipe_out_corner()",35);}else{this.clipTo(this.height,this.width,this.height,this.width);this.wiping=false;if(this.fn)eval(this.fn);}}
dynObj.prototype.wipe_out_top=function(){this.wiping=true;var clipVal=this.getClipValues();var elapsed=(new Date().getTime())-this.wipeStart;if(elapsed<this.wipeTime){var inc=this.height*((1/this.wipeTime)*elapsed);this.clipTo(0,this.width,this.height-inc,0);setTimeout(this.obj+".wipe_out_top()",35);}else{this.clipTo(0,this.width,this.height,this.width);this.wiping=false;if(this.fn)eval(this.fn);}}
dynObj.prototype.wipe_out_bottom=function(){this.wiping=true;var clipVal=this.getClipValues();var elapsed=(new Date().getTime())-this.wipeStart;if(elapsed<this.wipeTime){var inc=this.height*((1/this.wipeTime)*elapsed);this.clipTo(inc,this.width,this.height,0);setTimeout(this.obj+".wipe_out_bottom()",35);}else{this.clipTo(0,this.width,this.height,this.width);this.wiping=false;if(this.fn)eval(this.fn);}}
dynObj.prototype.wipe_out_top_left=function(){this.wiping=true;var clipVal=this.getClipValues();var elapsed=(new Date().getTime())-this.wipeStart;if(elapsed<this.wipeTime){var vinc=-this.height*Math.cos(this.per*elapsed)+this.height;var hinc=-this.width*Math.cos(this.per*elapsed)+this.width;this.clipTo(0,this.width-hinc,this.height-vinc,0);setTimeout(this.obj+".wipe_out_top_left()",35);}else{this.clipTo(0,0,0,0);this.wiping=false;if(this.fn)eval(this.fn);}};var origWidth,origHeight;if(document.layers){origWidth=window.innerWidth;origHeight=window.innerHeight;window.onresize=function(){if(window.innerWidth!=origWidth||window.innerHeight!=origHeight)history.go(0);}}
var outerLyr,wipeLyr1;function initDynLyrs(){var pos="";if(pos.length>0)
{eVs=pos.split(',');outerLyr=new dynObj('outerDiv',eVs[0],eVs[1],eVs[2],eVs[3]);}
else
{outerLyr=new dynObj('outerDiv',754,187,null,null);}
if(!outerLyr||!document.layers&&typeof outerLyr.el.innerHTML=="undefined")return;outerLyr.setBgClr("");if(outerLyr.el.style){outerLyr.css.border=""}
wipeLyr1=new dynObj('wipeDiv1');doWipes();}
window.onload=initDynLyrs;var imgAr=new Array("ad.jpg");if(document.images){var imgList=new Array();for(var i=0;i<imgAr.length;i++){imgList[i]=new Image();imgList[i].src="images/"+imgAr[i];}}
var bannerURL="http://www.groovyjeans.com";var wipe_array=new Array('',1500);var wipe_count=0;function doWipes(){if(wipe_count<wipe_array.length){var cntnt='<table id="w1" border="0" cellpadding="0" cellspacing="0"><tr><td class="wipe"><a href="'+bannerURL+'"'+wipe_array[wipe_count]+'</a></td></tr></table>';wipePrep(wipeLyr1,cntnt,'w1');wipeLyr1.centerIn(outerLyr);wipeLyr1.wipe("in top",1200,wipe_array[wipe_count+1],"wipeOuts()");}else{wipe_count=null;doWipes();}}
function wipePrep(obj,cntnt,id){obj.hide();obj.clipTo(0,obj.width,obj.height,0);obj.writeLyr(cntnt);obj.width=getWidth(obj.el,id);obj.height=getHeight(obj.el,id);}
function wipeOuts(){var dv=3;wipeLyr1.wipe("out top",11000,wipe_array[wipe_count+1]/dv,"doWipes()");wipe_count+=1;}
function appear()
{wipeDiv1.style.visibility="visible";outerDiv.style.visibility="visible";}
function disappear()
{wipeDiv1.style.visibility="hidden";outerDiv.style.visibility="hidden";}
function showLayer(id){var lyr=getElemRefs(id);var topImg=document.getElementById("topSecretImg");el=topImg;var x=el.offsetLeft;var leftEl=leftEl=el.offsetParent;for(;leftEl;leftEl=leftEl.offsetParent)x+=parseInt(leftEl.offsetLeft);document.getElementById(id).style.left=x;if(lyr&&lyr.css)lyr.css.visibility="visible";}
function hideLayer(id){var lyr=getElemRefs(id);if(lyr&&lyr.css)lyr.css.visibility="hidden";Set_Cookie('nnihome','false',90,null,null,0);}
function getElemRefs(id){var el=(document.getElementById)?document.getElementById(id):(document.all)?document.all[id]:(document.layers)?getLyrRef(id,document):null;if(el)el.css=(el.style)?el.style:el;return el;}
function Set_Cookie(name,value,expires,path,domain,secure)
{var today=new Date();today.setTime(today.getTime());if(expires)
{expires=expires*1000*60*60*24;}
var expires_date=new Date(today.getTime()+(expires));document.cookie=name+"="+escape(value)+
((expires)?";expires="+expires_date.toGMTString():"")+
((path)?";path="+path:"")+
((domain)?";domain="+domain:"")+
((secure)?";secure":"");}
function Get_Cookie(name){var start=document.cookie.indexOf(name+"=");var len=start+name.length+1;if((!start)&&(name!=document.cookie.substring(0,name.length)))
{return null;}
if(start==-1)return null;var end=document.cookie.indexOf(";",len);if(end==-1)end=document.cookie.length;return unescape(document.cookie.substring(len,end));}
function getLyrRef(lyr,doc){if(document.layers){var theLyr;for(var i=0;i<doc.layers.length;i++){theLyr=doc.layers[i];if(theLyr.name==lyr)return theLyr;else if(theLyr.document.layers.length>0)
if((theLyr=getLyrRef(lyr,theLyr.document))!=null)
return theLyr;}
return null;}};function callSignUpURL(URL)
{var protocol='http:';var host=document.location.host;if(host.indexOf('localhost')==-1)
{protocol='https:';}
var email=document.getElementById('signUpEmail2').value;document.location.href=protocol+'//'+host+URL+'?email='+email+'&COREGISTRATION=hpbanner';}
function clearEmailText2()
{document.getElementById('signUpEmail2').value='';}
function clearEmailText3()
{document.getElementById('signUpEmail3').value='';}
function clearEmailText4()
{document.getElementById('signUpEmail4').value='';};var fnames=new Array();var ftypes=new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='MMERGE3';ftypes[3]='text';fnames[4]='MMERGE4';ftypes[4]='text';fnames[5]='MMERGE5';ftypes[5]='text';fnames[6]='MMERGE6';ftypes[6]='text';fnames[7]='MMERGE7';ftypes[7]='text';fnames[8]='MMERGE8';ftypes[8]='text';fnames[9]='MMERGE9';ftypes[9]='text';fnames[10]='MMERGE10';ftypes[10]='text';fnames[11]='MMERGE11';ftypes[11]='text';fnames[12]='MMERGE12';ftypes[12]='text';fnames[13]='MMERGE13';ftypes[13]='text';fnames[14]='MMERGE14';ftypes[14]='text';fnames[15]='MMERGE15';ftypes[15]='text';fnames[16]='MMERGE16';ftypes[16]='text';fnames[17]='MMERGE17';ftypes[17]='text';fnames[18]='MMERGE18';ftypes[18]='text';fnames[19]='MMERGE19';ftypes[19]='text';fnames[20]='MMERGE20';ftypes[20]='text';try{var jqueryLoaded=jQuery;jqueryLoaded=true;}catch(err){var jqueryLoaded=false;}
var head=document.getElementsByTagName('head')[0];if(!jqueryLoaded){var script=document.createElement('script');script.type='text/javascript';script.src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js';head.appendChild(script);if(script.readyState&&script.onload!==null){script.onreadystatechange=function(){if(this.readyState=='complete')mce_preload_check();}}}
var script=document.createElement('script');script.type='text/javascript';script.src='http://downloads.mailchimp.com/js/jquery.form-n-validate.js';head.appendChild(script);var err_style='';try{err_style=mc_custom_error_style;}catch(e){err_style='margin: 1em 0 0 0; padding: 1em 0.5em 0.5em 0.5em; background: ERROR_BGCOLOR none repeat scroll 0% 0%; font-weight: bold; float: left; z-index: 1; width: 80%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: ERROR_COLOR;';}
var head=document.getElementsByTagName('head')[0];var style=document.createElement('style');style.type='text/css';if(style.styleSheet){style.styleSheet.cssText='.mce_inline_error {'+err_style+'}';}else{style.appendChild(document.createTextNode('.mce_inline_error {'+err_style+'}'));}
head.appendChild(style);setTimeout('mce_preload_check();',250);var mce_preload_checks=0;function mce_preload_check(){if(mce_preload_checks>40)return;mce_preload_checks++;try{var jqueryLoaded=jQuery;}catch(err){setTimeout('mce_preload_check();',250);return;}
try{var validatorLoaded=jQuery("#fake-form").validate({});}catch(err){setTimeout('mce_preload_check();',250);return;}
mce_init_form();}
function mce_init_form(){jQuery(document).ready(function($){var options={errorClass:'mce_inline_error',errorElement:'div',onkeyup:function(){},onfocusout:function(){},onblur:function(){}};var mce_validator=$("#mc-embedded-subscribe-form").validate(options);options={url:'http://groovyjeans.us2.list-manage.com/subscribe/post-json?u=2af251acf0dda6f1059237cc6&id=3ec79265d3&c=?',type:'GET',dataType:'json',contentType:"application/json; charset=utf-8",beforeSubmit:function(){$('#mce_tmp_error_msg').remove();$('.datefield','#mc_embed_signup').each(function(){var txt='filled';var fields=new Array();var i=0;$(':text',this).each(function(){fields[i]=this;i++;});$(':hidden',this).each(function(){if(fields[0].value=='MM'&&fields[1].value=='DD'&&fields[2].value=='YYYY'){this.value='';}else if(fields[0].value==''&&fields[1].value==''&&fields[2].value==''){this.value='';}else{this.value=fields[0].value+'/'+fields[1].value+'/'+fields[2].value;}});});return mce_validator.form();},success:mce_success_cb};$('#mc-embedded-subscribe-form').ajaxForm(options);});}
function mce_success_cb(resp){$('#mce-success-response').hide();$('#mce-error-response').hide();if(resp.result=="success"){$('#mce-'+resp.result+'-response').show();$('#mce-'+resp.result+'-response').html(resp.msg);$('#mc-embedded-subscribe-form').each(function(){this.reset();});}else{var index=-1;var msg;try{var parts=resp.msg.split(' - ',2);if(parts[1]==undefined){msg=resp.msg;}else{i=parseInt(parts[0]);if(i.toString()==parts[0]){index=parts[0];msg=parts[1];}else{index=-1;msg=resp.msg;}}}catch(e){index=-1;msg=resp.msg;}
try{if(index==-1){$('#mce-'+resp.result+'-response').show();$('#mce-'+resp.result+'-response').html(msg);}else{err_id='mce_tmp_error_msg';html='<div id="'+err_id+'" style="'+err_style+'"> '+msg+'</div>';var input_id='#mc_embed_signup';var f=$(input_id);if(ftypes[index]=='address'){input_id='#mce-'+fnames[index]+'-addr1';f=$(input_id).parent().parent().get(0);}else if(ftypes[index]=='date'){input_id='#mce-'+fnames[index]+'-month';f=$(input_id).parent().parent().get(0);}else{input_id='#mce-'+fnames[index];f=$().parent(input_id).get(0);}
if(f){$(f).append(html);$(input_id).focus();}else{$('#mce-'+resp.result+'-response').show();$('#mce-'+resp.result+'-response').html(msg);}}}catch(e){$('#mce-'+resp.result+'-response').show();$('#mce-'+resp.result+'-response').html(msg);}}};var cookieValue=Get_Cookie('nnihome');if(cookieValue==null)
{var OnLoad='showLayer(\'lyr1\')';window.onload=function(){eval(OnLoad);};window.onresize=function(){eval(OnLoad);};};var profiles={windowSm:{height:500,width:380,createnew:0,status:1},windowMed:{height:500,width:489,createnew:0,status:1},windowLrg:{height:500,width:600,createnew:0,status:1},windowXlrg:{height:768,width:768,createnew:0,status:1,scrollbars:0},windowAltView:{height:640,width:460,createnew:0,status:1,scrollbars:0},windowAllStyles:{height:520,width:490,createnew:0,status:1},windowCenter:{height:300,width:400,createnew:0,center:1},windowNotNew:{height:300,width:400,center:1,createnew:0},windowSASCls:{height:542,width:500,createNew:0,scrollbars:0},facebook:{height:542,width:500,createNew:0,scrollbars:0},twitter:{height:542,width:800,createNew:0,scrollbars:0}};var index=1;function myPopUp(url,profile,jqsettings)
{var settings,parameters,mysettings,b,a;mysettings=profile.split(",");settings={height:500,width:380,toolbar:0,scrollbars:1,status:0,resizable:1,left:20,top:20,center:0,createnew:1,location:0,menubar:0,emailTitle:"",emailContent:"",twitterContent:""};settings=jQuery.extend(settings,jqsettings);if(profile=='facebook'){settings.url='http://www.facebook.com/sharer.php?u='+url;}else if(profile=='twitter'){settings.url="http://twitter.com/home?status="+settings.twitterContent;}else if(profile=='email'){window.location="mailto:?subject="+settings.emailTitle+"&body="+settings.emailContent;return true;}else{settings.url=url;}
if(mysettings.length==1&&mysettings[0].split(":").length==1)
{a=mysettings[0];if(typeof(profiles[a])!="undefined")
{settings=jQuery.extend(settings,profiles[a]);}}
else
{for(var i=0;i<mysettings.length;i++)
{b=mysettings[i].split(":");if((typeof(settings[b[0]])!='undefined')&&b.length==2)
{settings[b[0]]=b[1];}}}
if(settings.center==1)
{settings.top=(screen.height-(settings.height+110))/2;settings.left=(screen.width-settings.width)/2;}
parameters="location="+settings.location+",menubar="+settings.menubar+",height="+settings.height+",width="+settings.width+",toolbar="+settings.toolbar+",scrollbars="+settings.scrollbars+",status="+settings.status+",resizable="+settings.resizable+",left="+settings.left+",screenX="+settings.left+",top="+settings.top+",screenY="+settings.top;var name=settings.createnew?"PopUpWindow"+index:"PopUpWindow";var opened=window.open(settings.url,name,parameters);opened.resizeTo(settings.width+8,settings.height+80);opened.focus();index=index+1;}
function myPopUp_setup(url,profile)
{var settings,parameters,mysettings,b,a;mysettings=profile.split(",");settings={height:500,width:380,toolbar:0,scrollbars:0,status:0,resizable:0,left:20,top:20,center:1,createnew:1,location:0,menubar:0};if(mysettings.length==1&&mysettings[0].split(":").length==1)
{a=mysettings[0];if(typeof(profiles[a])!="undefined")
{settings=jQuery.extend(settings,profiles[a]);}}
else
{for(var i=0;i<mysettings.length;i++)
{b=mysettings[i].split(":");if((typeof(settings[b[0]])!='undefined')&&b.length==2)
{settings[b[0]]=b[1];}}}
if(settings.center==1)
{settings.top=(screen.height-(settings.height+110))/2;settings.left=(screen.width-settings.width)/2;}
parameters="location="+settings.location+",menubar="+settings.menubar+",height=542,width=500,toolbar="+settings.toolbar+",scrollbars="+settings.scrollbars+",status="+settings.status+",resizable="+settings.resizable+",left="+settings.left+",screenX="+settings.left+",top="+settings.top+",screenY="+settings.top;var name=settings.createnew?"PopUpWindow"+index:"PopUpWindow";window.open(url,name,parameters).focus();index=index+1;}
