//****** Advanced DHTML Popup Pro Version 2.500.0137.210 Build: 172 ******

// Copyright (c) Digital Flow Software 2005-2009
// The present javascript code is property of Digital Flow Software.
// This code can only be used inside Internet/Intranet web sites located on *web servers*, as the outcome of a licensed Advanced DHTML Popup application only. 
// This code *cannot* be used inside distributable implementations (such as demos, applications or CD-based webs), unless this implementation is licensed with an "Advanced DHTML Popup License for Distributed Applications". 
// Any unauthorized use, reverse-engineering, alteration, transmission, transformation, facsimile, or copying of any means (electronic or not) is strictly prohibited and will be prosecuted.
// ***Removal of the present copyright notice is strictly prohibited***

var df,rf=false,na=navigator.userAgent,dt=document,op=(na.indexOf('Opera')!=-1),dm=(dt.getElementById)?true:false,ie5x=(dt.all&&dm),mci=(na.indexOf('Mac')!=-1);df=((ie5x||op)&&mci);decide();function decide(){if(df){return;}else{rf=true;}}
if(rf){
function initADP(){bdf=0;
// *** Begin advanced user scripting area ***
   htmlstring="<link type=\"text/css\" rel=\"stylesheet\"  href=\"http://www.sheermiracle.com/test.css\"> <link rel=\"stylesheet\" type=\"text/css\" media=\"print\"> <table summary=\"20% Off Order!\" width=\"500\" Border=\"0\" padding=\"10\"> <tr><td> <img src=\"http://www.sheermiracle.com/images/popup.gif\" width=\"360\" height=\"90\" alt=\" 20% Off Order!\" align=\"center\"></td></tr> <tr> <td valign=\"top\" class=\"makeup\"> <div align=\"center\"><h2>Leaving So Soon?</h2></div> <p>We are so sure that you'll love our premium mineral makeup line, we're offering you 20% off your order!</p> <p>Use the coupon code <b>pop20</b> in the coupon box at the bottom of the Your Cart page at checkout.</p> <p>P.S. Don't forget our 30 day \"no questions asked\" money back guarantee.</p><p><b>So ordering is 100% risk free!</b></p> <div align=\"center\"> <table width=\"170\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"> <tr bgcolor=\"#996633\" valign=\"top\"> <td  width=\"9\" rowspan=\"2\"><img src=\"http://img.constantcontact.com/ui/images/visitor/tl_brdr2_trans.gif\" width=\"9\" height=\"9\" border=\"0\"></td> <td width=\"152\" height=\"1\" bgcolor=\"#996633\"><img src=\"http://img.constantcontact.com/ui/images/spacer.gif\"  border=\"0\" width=\"1\" height=\"1\"></td> <td width=\"9\" rowspan=\"2\" align=\"right\"><img src=\"http://img.constantcontact.com/ui/images/visitor/tr_brdr2_trans.gif\" width=\"9\" height=\"9\" border=\"0\"></td> </tr> <tr> <td width=\"152\" height=\"8\"  bgcolor=\"#ffffff\"><img src=\"http://img.constantcontact.com/ui/images/spacer.gif\" border=\"0\" width=\"1\" height=\"1\"></td> </tr> <tr> <td width=\"170\" colspan=\"3\" style=\"border-left: 1px solid #996633;border-right: 1px solid #996633;\"><div align=\"center\">  <form name=\"ccoptin\" action=\"http://visitor.constantcontact.com/d.jsp\" target=\"_blank\" method=\"post\" style=\"margin-bottom:3;\"> <font style=\"font-weight: bold; font-family:Verdana,Geneva,Arial,Helvetica,sans-serif; font-size:13px;  color:#000000;\">Receive coupons & news exclusive to our email Discount Club</font><br> <font style=\"font-weight: normal; font-family:Verdana,Geneva,Arial,Helvetica,sans-serif; font-size:10px; color:#000000;\">Email:</font> <input type=\"text\" name=\"ea\"  size=\"14\" value=\"\" style=\"font-family: Arial; font-size:10px; border:1px solid #999999;\"> <input type=\"submit\" name=\"go\" value=\"Join\" class=\"submit\" style=\"font-family:Arial,Helvetica,sans-serif; font-size:11px;\"> <input type=\"hidden\" name=\"m\"  value=\"1102390973452\"> <input type=\"hidden\" name=\"p\" value=\"oi\"> </form> </div></td> </tr> <tr bgcolor=\"#996633\" valign=\"bottom\"> <td rowspan=\"2\"><img src=\"http://img.constantcontact.com/ui/images/visitor/bl_brdr2_trans.gif\" width=\"9\" height=\"9\"  border=\"0\" /></td> <td width=\"152\" height=\"8\" bgcolor=\"#ffffff\"><img src=\"http://img.constantcontact.com/ui/images/spacer.gif\" border=\"0\" width=\"1\" height=\"1\"></td> <td rowspan=\"2\" align=\"right\"><img  src=\"http://img.constantcontact.com/ui/images/visitor/br_brdr2_trans.gif\" width=\"9\" height=\"9\" border=\"0\"></td> </tr> <tr> <td width=\"152\" bgcolor=\"#996633\"><img src=\"http://img.constantcontact.com/ui/images/spacer.gif\" border=\"0\" width=\"1\"  height=\"1\"></td> </tr> </table> </div> <!-- END: Constant Contact Bubble Opt-in Email List Form --> <!-- BEGIN: SafeSubscribe --> <div align=\"center\" style=\"padding-top:5px;\"> <a href=\"http://www.constantcontact.com/safesubscribe.jsp\"  target=\"_blank\"><img src=\"http://img.constantcontact.com/ui/images1/safe_subscribe_logo.gif\" border=\"0\" width=\"168\" height=\"14\" alt=\"\"/></a>  <!-- END: SafeSubscribe --> <br><br><p>Follow Us On Twitter by clicking the link below:</p><br>  <a href=\"http://twitter.com/SheerMiracle\" target=\"_new\"><img  src=\"http://www.sheermiracle.com/images/twitter button.jpg\" width=\"135\" height=\"33\" alt=\"Twitter\" border=\"0\"/></a> </div></td></tr> <tr><td align=\"center\"><a href=\"http://sheermiracle.com/makeup/go.php?c=minhome\" class=\"tpp\" target=\"_new\">Natural  Mineral Makeup</a> |  <a href=\"http://sheermiracle.com/makeup/go.php?c=testimonials\" class=\"tpp\" target=\"_new\">Testimonials</a> |  <a href=\"http://www.sheermiracle.com/SheerMiracle_Reviews.htm\" class=\"tpp\" target=\"_new\">Reviews</a> |  <a  href=\"http://sheermiracle.com/makeup/go.php?c=contact\" class=\"tpp\" target=\"_new\">Contact us</a> |  <a href=\"http://sheermiracle.com/makeup/go.php?c=about\" class=\"tpp\" target=\"_new\">About Us</a></td></tr> </table>  ";
   new adp("popup",htmlstring,"Leaving So Soon?");
   if(isc)return;
// *** End advanced user scripting area ***
}
if(window.attachEvent){window.attachEvent('onload', initADP);}else{if(typeof window.onload == 'function'){var preADP = window.onload;window.onload = function(){preADP();initADP();}}else{window.onload = initADP;}}
}
function runCmdSet(){
   adpShow('popup');
}
