// JavaScript Document

if (navigator.appVersion.indexOf('MSIE 6.0') != -1){

document.writeln('<style>');
document.writeln('#strServcQual {display:none;position:absolute;left:50%;margin-left:-363px;top:15px;width:725px;z-index:99999;}');
document.writeln('#qf_container{height:623px; width:725px; background:url(/assets/images/n_OW-qf.gif) no-repeat;font-size:10px;}');
document.writeln('#qf_logo{padding-top:5px;margin-top:5px; text-align:center;}');
document.writeln('#qf_headline{margin-top:-40px;text-align:center;}');
document.writeln('.headline{text-align:center;font-family:Arial, Helvetica, sans-serif; font-size:16px; font-weight:bold;}');
document.writeln('#qf_pr_logos{text-align:center; padding-top:0px;margin-top:-20px;}');
document.writeln('#qf_subheadline{text-align:center; padding-top:0px;margin-top:-20px;}');
document.writeln('.subheadline{font-family:Arial, Helvetica, sans-serif; font-size:14px; font-weight:bold;}');
document.writeln('#qualframe{float:center;width:390px;padding-left:9px;margin-top:5px; /*border-right:1px solid #000;*/}');
document.writeln('#qf_info{float:right;width:270px;padding-top:20px;}');
document.writeln('.h{color:#5890bf;font-size:12px;font-weight:bold;}');
document.writeln('#qfBack{background: url(/assets/images/qf_bck_blue.gif) no-repeat; height:240px; width:680px; margin-top:-15px;margin-left:135px;margin-right:auto;}');
document.writeln('#belowQF{float:left;padding-top:5px;margin-top:0px; margin-left:25px;padding-right:25px;}');
document.writeln('#qf_footer_left{float:left;padding-top:5px;margin-top:-10px; width:525px;margin-left:25px;}');
document.writeln('#qf_footer_right{float:right;padding-top:5px;margin-top:-10px; width:120px;margin-left:5px;padding-right:21px;}');
document.writeln('#closbutn {position:absolute; top:10px;left:672px;}');

document.writeln('#str_overlay {background:#000000;');
document.writeln('	display:none;');
document.writeln('	position:absolute;');
document.writeln('	top:0px; left:0px; ');
document.writeln('	width:2000px; ');
document.writeln('	height:2000px; ');
document.writeln('	overflow:hidden; ');
document.writeln('	z-index:3200');
document.writeln('}');
document.writeln('</style>');
}else{
document.writeln('<style>');
document.writeln('#strServcQual {display:none;position:fixed;left:50%;margin-left:-363px;top:15px;width:725px;z-index:99999;}');
document.writeln('#qf_container{height:623px; width:725px; background:url(/assets/images/n_OW-qf.gif); font-size:10px;}');
document.writeln('#qf_logo{padding-top:8px;margin-top:0px; text-align:center;}');
document.writeln('#qf_headline{margin-top:-60px;text-align:center;}');
document.writeln('.headline{text-align:center;font-family:Arial, Helvetica, sans-serif; font-size:16px; font-weight:bold;}');
document.writeln('#qf_pr_logos{text-align:center; padding-top:0px;margin-top:10px;margin-bottom:20px;}');
document.writeln('#qf_subheadline{text-align:center; margin-top:-20px;}');
document.writeln('.subheadline{font-family:Arial, Helvetica, sans-serif; font-size:14px; font-weight:bold;}');
document.writeln('#qualframe{float:left;width:390px;padding-left:20px;margin-top:20px;/*border-right:1px solid #000;*/}');
document.writeln('#qf_info{float:right;width:270px;padding-top:20px;}');
document.writeln('.h{color:#5890bf;font-size:12px;font-weight:bold;}');
document.writeln('#qfBack{background: url(/assets/images/qf_bck_blue.gif) no-repeat; margin-top:-10px; margin-bottom:20px;height:242px; width:467px;margin-left:auto;margin-right:auto;}');
document.writeln('#belowQF{float:left;padding-top:5px;margin-top:0px; margin-left:55px;padding-right:25px;}');
document.writeln('#qf_footer_left{float:left;padding-top:5px;margin-top:0px; width:500px;margin-left:55px;}');
document.writeln('#qf_footer_right{float:right;padding-top:5px;margin-top:-10px; width:120px;margin-left:5px;padding-right:21px;}');
document.writeln('#closbutn {position:absolute; top:10px;left:672px;}');

document.writeln('#str_overlay {background:#000000;');
document.writeln('	display:none;');
document.writeln('	position:fixed;');
document.writeln('	top:0px; left:0px; ');
document.writeln('	width:100%; ');
document.writeln('	height:100%; ');
document.writeln('	overflow:hidden; ');
document.writeln('	z-index:3200');
document.writeln('}');
document.writeln('</style>');
}

document.writeln('<div id="str_overlay" style="" onClick="CloseIt();"></div>');
document.writeln('<div id="strServcQual">');
document.writeln('<div id="closbutn"><a href="javascript:void(0);" onclick="CloseIt();"><img src="/assets/images/close_r.gif" border="0" title="Close" /></a></div>');
document.writeln('<div id="qf_container">');
document.writeln('<div id="qf_logo">');
document.writeln('<img src="/assets/images/qf-logo.gif" />');
document.writeln('</div>');
document.writeln('<div id="gf_headline">');
//document.writeln('<p class="headline">We have thousands of deals with Big Savings and Cash Back offers ...</p></div>');
//document.writeln('<p class="headline">&nbsp;</p>');
document.writeln('</div>');
document.writeln('<div id="qf_pr_logos"></div>');
document.writeln('<div id="qf_subheadline">');
//document.writeln('<h2 class="subheadline">To get the best deal in your area please provide us with the following information...</h2>');
document.writeln('<h2 class="subheadline">&nbsp;</h2>');
document.writeln('</div>');
document.writeln('<div id="qfBack">');
document.writeln('<div id="qualframe"></div>');


//document.writeln('<div id="qf_info"><span class="h">Why we need this information. </span><br><br>We use your location information to pinpoint the most up-to-date provider options for your address.</div>');
document.writeln('</div>');
document.writeln('<div id="belowQF"><span class="h">Why we need this information. </span><br>Certain offers may vary based upon location. OfferWire uses your location information to identify the best offers from top brands in your service region.<br><br>When you place an order for products or services, we collect Personally Identifiable Information (such as name, contact and billing information, credit card, and other transaction information). We use this information to deliver your order, process payment, and to communicate with you about the status of your order. Credit card information submitted with your order is used only for payment processing and is not retained on our Site. We do not sell, trade, rent, or otherwise retransmit any Personally Identifiable Information we collect online unless we have your permission. Any Personally Identifiable Information you provide to us will be used for your purchases and retained in soft copy form of the original order transmission. View our full <a href="/privacy.aspx">privacy</a> policy.</div>');
document.writeln('<div id="qf_footer_left"><!--We value your <a href="/privacy.aspx">privacy</a>. Offerwire.com will not sell or rent your information--> </div>');
document.writeln('<div id="qf_footer_right"><img src="/assets/images/lock.gif" alt="" width="16" height="21" align="absmiddle" /> Secure Server&nbsp;&nbsp;&nbsp;&nbsp;</div>');
document.writeln('</div></div>');


function CloseIt()
{
	document.getElementById('strServcQual').style.display='none';
	document.getElementById('str_overlay').style.display='none';
	var objFlash=document.getElementById('flashSlider');
	if (objFlash!=null)
	{
		document.getElementById('flashSlider').style.display='block'
		}else{
			//do nothing
		}
	
	
}
function changeOpac() { 
	document.getElementById('str_overlay').style.display="block";
	var object = document.getElementById('str_overlay').style; 
    object.opacity = (70 / 100); 
    object.MozOpacity = (70 / 100); 
    object.KhtmlOpacity = (70 / 100); 
    object.filter = "alpha(opacity=70)"; 
	
} 

function checkService(number)
{    
   
  

	
	if (navigator.appVersion.indexOf('MSIE 6.0') != -1){
		
        var xWithScroll = document.documentElement.scrollTop;
		var intTop = eval(xWithScroll + 15);	
		document.getElementById('strServcQual').style.display='block';
		document.getElementById('strServcQual').style.top=intTop;
		document.getElementById('str_overlay').style.top=xWithScroll;
		document.getElementById('qf_pr_logos').innerHTML='<img src="/assets/images/'+number+'.jpg">';
		//document.getElementById('qf_pr_logos').innerHTML='<img src="/assets/images/10.jpg">';
		document.getElementById('qualframe').innerHTML='<iframe style="width: 380px; height: 220px" src="/assets/qualform-n.html?vertical=' + number + '" frameborder="0" width="376" scrolling="no"></iframe>';
		changeOpac();
	}else{
	   
       document.getElementById('qualframe').innerHTML='<iframe style="width: 380px; height: 212px" src="/assets/qualform-n.html?vertical=' + number + '" frameborder="0" width="376" scrolling="no"></iframe>'
	  document.getElementById('qf_pr_logos').innerHTML='<img src="/assets/images/'+number+'.jpg">';
	  //document.getElementById('qf_pr_logos').innerHTML='<img src="/assets/images/10.jpg">';
	  document.getElementById('strServcQual').style.display='block';
	  changeOpac();
  }
}


