Jump to content

Recommended Posts

Thanks for the reply.  I checked the javascript for popup size and it is 520.  Here is the code.  At the bottom of the HTML I pasted the javascript too.  Like I said working fine locally and not when I get it to the server.  Thanks

 

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>Heinen's Wine Bin</title>
<link href="css/wine_bin.css" type="text/css" rel="stylesheet" media="all">
<script language="JavaScript">function openWindow (ul){options = "width=520,height=520,resizable=no,scrollbars=yes";popup = window.open(ul,"Heinens",options);}</script>
<script type="text/javascript" src="js/wine_bin.js"></script>


</head>

<body onLoad="javascript:checkPopup()"  bgcolor="#ffffff">
<table id="container_outer" cellspacing="0" cellpadding="8">
<tr><td align="center">

<div id="container_inner">
<div id="masthead">
<img src="http://heinens.econtempodg.com/ws/1108/images/masthead.gif" alt="Heinen's Wine Bin -- Featuring Premier Wine, Beer & Cheese Selections" height="100" width="600" border="0">
</div>
<div id="content">
<div id="intro">
<div id="intro_left">
<a href="downloads/Heinens_WineBin.pdf">printer friendly</a><!--encode_id=null--><br>
<a href="#">send to a friend</a><!--encode_id=null--></div>
<div id="intro_body">
<!--PERSONALIZATION --><br>
Welcome to the new Wine Bin e-newsletter, featuring Heinen's latest and finest wine, beer and cheese selections</div>
<div id="intro_right">
<b><font color="#752124">November 2008</font></b><br>
<a href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=9')">Special Events</a><!--encode_id=9--><br>
<a href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=14')">Specialists and Stores</a><!--encode_id=14--></div>
</div>
<!-- BEGIN PANEL -->
<div class="bar">
<div class="roundcont">
<div class="panel" style="background-image:url(http://heinens.econtempodg.com/ws/1108/images/pattern_leaves.gif)">
<div class="roundtop">
<div align="left"><img class="corner" style="display: none" src="http://heinens.econtempodg.com/ws/1108/images/corners_01.png" alt=""></div>
</div>
<div class="panel_center">
<img src="http://heinens.econtempodg.com/ws/1108/images/featured.gif" alt="Featured Wines" height="11" width="134" border="0"></div>
<div class="roundbottom">
<div align="left"><img class="corner" style="display: none" src="http://heinens.econtempodg.com/ws/1108/images/corners_03.png" alt="" height="10" width="10"></div>
</div>
</div>
</div>
</div>
<!-- END PANEL -->
<div id="features">
<table id="grid" cellspacing="0">
<tr>
<td class="feature_column" valign="top" >
<div class="content">
<span class="feature_title"><A href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=0')">2006 Vin Hunter Selection “MSG”</a><!--encode_id=0--></span>									</div>								</td>
<td class="feature_column" valign="top" >
<div class="content">
<span class="feature_title"><A href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=1')">2006 Vin Hunter Selection Pinot Gris</a><!--encode_id=1--></span>									</div>								</td>
<td class="feature_column" valign="top" >
<div class="content">
<span class="feature_title"><A href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=2')">2006 Reginato Rose of Malbec</a><!--encode_id=2--></span>									</div>								</td>
<td class="feature_column2" valign="top" >
<div class="content">
<span class="feature_title"><A href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=3')">2007 Ferrante Gewurztraminer</a><!--encode_id=3--></span>									</div>								</td>
</tr>
<tr>
<td class="feature_column" valign="top" ><span class="feature_descrip">$14.99/bottle</span><br>
<br>								</td>
<td class="feature_column" valign="top" ><span class="feature_descrip">$14.99/bottle</span><br>
<br>								</td>
<td class="feature_column" valign="top" ><span class="feature_descrip">$19.99/bottle</span><br>
<br>								</td>
<td class="feature_column2" valign="top"><span class="feature_descrip">$14.99/bottle</span><br>
<br>								</td>
</tr>
<tr>
<td class="feature_column" valign="top">
<div class="img_wrap">
<img src="http://heinens.econtempodg.com/ws/1108/images/bottles_0_1.jpg" alt="2006 Vin Hunter Selection “MSG”" height="149" width="50" border="0"></div>
<div class="feature_body">
Not the MSG you may be thinking about, <em>my </em>“MSG” is not added to boring foods to enhance flavor, but rather this <b>deliciously gulpable red is a “food enhancer” </b>because it has a wonderfully unique ability to make <b>everything it’s paired with taste better!</em><br/><A href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=0')">Click here to read more.</a><!--encode_id=0--><br/><br/></div>
<br>								</td>
<td class="feature_column" valign="top" >
<div class="img_wrap">
<img src="http://heinens.econtempodg.com/ws/1108/images/bottles_1_1.jpg" alt="2006 Vin Hunter Selection Pinot Gris" height="149" width="50" border="0">									</div>
<div class="feature_body">
There is one place in America where Pinot Gris (yes, it's the same grape as ‘Grigio’ just with more 'oomph') really hits its stride, and there's one guy in America who is capable of getting a great one to you for a heck of a deal.</em><br/><A href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=1')">Click here to read more.</a><!--encode_id=1--> <br/><br/>
</div> <br>								</td>
<td class="feature_column" valign="top">
<div class="img_wrap">
<img src="http://heinens.econtempodg.com/ws/1108/images/bottles_2_1.jpg" alt="2006 Reginato Rose of Malbec" height="149" width="50" border="0">								</div>
<div class="feature_body">
Malbec has become <em>the </em>red grape of Argentina, and many wine fans have discovered its full bodied and complex charm.</em>  This <em>methode Champenoise, or</em> bottle fermented wine, is made from juice of the just-picked Malbec grapes that received just enough contact with the red skins to create this lovely red-hued sparkler.</em><br/><A href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=2')">Click here to read more.</a><!--encode_id=2--> <br/><br/>
</div>								 </td>
<td class="feature_column2" valign="top" >
<div class="img_wrap">
<img src="http://heinens.econtempodg.com/ws/1108/images/bottles_3_1.jpg" alt="2007 Ferrante Gewurztraminer" height="149" width="50" border="0">								 </div> <div class="feature_body"> Do you remember how perfect the weather was last summer?  If so, here's a chance to taste the sunshine and warmth in this wine that's grown along the shores of Lake Erie.<br/><A href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=3')">Click here to read more.</a><!--encode_id=3--> <br/></div> </td> </tr>
<tr>
<td class="feature_column" valign="top" >
<div class="pairings">
<span class="pairings_great"><i> GREAT WITH</i>:</span><br>
poultry<br/>
beef<br/>
spicy<br/>
</div>				</td>
<td class="feature_column" valign="top" >
<div class="pairings">
<span class="pairings_great"><i>GREAT WITH</i>:</span><br>
poultry<br/>
pork<br/>
cheese<br/>
</div>				</td>
<td class="feature_column" valign="top" >
<div class="pairings">
<span class="pairings_great"><i>GREAT WITH</i>:</span><br>
poultry<br/>
seafood<br/>
cheese<br/>
</div>				</td>
<td class="feature_column2" valign="top"  >
<div class="pairings">
<span class="pairings_great"><i>GREAT WITH</i>:</span><br>
poultry<br/>
spicy<br/>
cheese<br/>
</div>				</td>
</tr>
</table>
</div>
<!-- BEGIN VIN HUNTER #752124"-->
<!-- BEGIN PANEL -->
<!-- BEGIN VIN HUNTER SKIP 1-->

<div class="bar">
<div class="roundcont">
<div class="panel" style="color:white;background-color:#752124">
<div class="roundtop">
<div align="left"><img class="corner" style="display: none" src="http://heinens.econtempodg.com/ws/1108/images/corners_01.png" alt=""></div>
</div>
<div class="panel_center">
<img src="http://heinens.econtempodg.com/ws/1108/images/header_vin.gif" alt="Vin Hunter's Exclusive" height="11" width="212" border="0"></div>
<div class="roundbottom">
<div align="left"><img class="corner" style="display: none" src="http://heinens.econtempodg.com/ws/1108/images/corners_03.png" alt="" height="10" width="10"></div>
</div>
</div>
</div>
</div>
<!-- END VIN HUNTER SKIP 1-->
<!-- END PANEL -->
<!-- BEGIN VIN HUNTER SKIP 2-->
<div class="article">
<div class="article_left2">

<div class="vin_header" >
<A href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=5')">2005 Dobbes Viognier</a><!--encode_id=5--></div>
<p>Still haven't gotten with the Viognier program? Now's the time as there's no probs with Dobbes.  These folks really know what they are doing with Viognier (let's be honest, there's a bit of a gap between good and great Viognier – this one is certainly the latter) and this example captures everything Yours Truly loves about a spot-on Viognier (heady aromas that recall white peach, impressive body, nectarine/pear flavors, bone-dry finish with juicy acidity).<br/><A href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=5')">Click here to read more.</a><!--encode_id=5--></p>
</div>

<div class="article_right2"><a href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=5')"><img src="http://heinens.econtempodg.com/ws/1108/images/label_vinhunter_1.jpg" alt="2005 Dobbes Viognier" height="106" width="125" border="0"></a><!--encode_id=5--></div></div>

<!-- END VIN HUNTER SKIP 2-->
<!-- END VIN HUNTER -->
<!-- BEGIN BIN 75 -->
<!-- BEGIN PANEL -->
<!-- <div class="bar">
<div class="roundcont">
<div class="panel" style="background-color:#A12830">
<div class="roundtop">
<div align="left"><img class="corner" style="display: none" src="http://heinens.econtempodg.com/ws/1108/images/corners_01.png" alt=""></div>
</div>
<div class="panel_center">
<img src="http://heinens.econtempodg.com/ws/1108/images/header_bin75.gif" alt="Heinen's Bin 75" height="11" width="145" border="0"></div>
<div class="roundbottom">
<div align="left"><img class="corner" style="display: none" src="http://heinens.econtempodg.com/ws/1108/images/corners_03.png" alt="" height="10" width="10"></div>
</div>
</div>
</div>
</div>
<!-- END PANEL -->
<!--<div class="article">
<div class="article_left">
<a href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=5')"><img src="http://heinens.econtempodg.com/ws/1108/images/bin_label.jpg" alt="" height="105" width="105" border="0"></a>?php echo $BIN75 -> getEncodeID(); ?></div>
<div class="article_center">
<div class="float_center" >
<div class="panel_subhead" style="color:white;background-image:url(http://heinens.econtempodg.com/ws/1108/images/pattern_diamond.gif);">
?php echo $BIN75-> getProductName(); ?></div>
</div>
<div class="article_content">
?php echo $BIN75
-> getProductTeaser(2); ?></div>
</div>
<div class="article_right">
<a href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=5')"><img src="http://heinens.econtempodg.com/ws/1108/images/winesUnder10.gif" alt="75 Great Wines Under $10" height="81" width="107" border="0"></a>?php echo $BIN75 -> getEncodeID(); ?></div>
</div>
<!-- END BIN 75 -->
<!-- BEGIN DEPARTMENTS -->
<div class="departments">				</div>
<!--<!-- COL 2 -->
<div class="dept_column">
<div class="dept_column_inner">
<!-- BEGIN PANEL -->
<div class="roundcont" style="width:135px">
<div class="panel_small" style="background-color:#4A601C;height:50px">
<div class="roundtop">
<div align="left"><img class="corner" style="display: none" src="http://heinens.econtempodg.com/ws/1108/images/corners_01.png" alt=""></div>
</div>
<div class="panel_center">
<a href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=6')"><img src="http://heinens.econtempodg.com/ws/1108/images/feature_bin75.gif" alt="Specialists' Selections" height="34" width="101" border="0"></a><!--encode_id=6--></div>
<div class="roundbottom">
<div align="left"><img class="corner" style="display: none" src="http://heinens.econtempodg.com/ws/1108/images/corners_03.png" alt="" height="10" width="10"></div>
</div>
</div>
</div>
<!-- END PANEL --></div>
<!-- close inner -->
<div class="content"><a href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=6')"><img src="http://heinens.econtempodg.com/ws/1108/images/bin_label.jpg" alt="2005 Cycles Gladiator Pinot Noir" height="91" width="125" border="0"></a><a href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=6')"></a><!--encode_id=6-->					  </h1>
<p><b><a href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=6')">BIN 75<BR>2005 Cycles Gladiator Pinot Noir</a><!--encode_id=6--></b><br/>As popular as Pinot Noir has become, finding an exceptional value has become more and more difficult.  That's why we are so excited about this beauty from California's celebrated Central Coast appellation.<br/><A href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=6')">Click here to read more.</a><!--encode_id=6--></p>
</div>
</div>
<!-- COL 3 background-color:#DA7926; <img src="http://heinens.econtempodg.com/ws/1108/images/feature_counterpint.gif" alt="CounterPint Beers" height="34" width="101" border="0">
-->
<div class="dept_column">
<div class="dept_column_inner">
<!-- BEGIN PANEL -->
<div class="roundcont" style="width:135px">
<div class="panel_small" style="background-color:#DA7926;height:50px">
<div class="roundtop">
<div align="left"><img class="corner" style="display: none" src="http://heinens.econtempodg.com/ws/1108/images/corners_01.png" alt=""></div>
</div>
<div class="panel_center">
<a href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=7')"><img src="http://heinens.econtempodg.com/ws/1108/images/feature_counterpint.gif" alt="CounterPint Beers" height="34" width="101" border="0"></a><!--encode_id=7--></div>
<div class="roundbottom">
<div align="left"><img class="corner" style="display: none" src="http://heinens.econtempodg.com/ws/1108/images/corners_03.png" alt="" height="10" width="10"></div>
</div>
</div>
</div>
<!-- END PANEL --></div>
<!-- close inner -->
<div class="content">
<a href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=7')"><img src="http://heinens.econtempodg.com/ws/1108/images/beer_of_the_month.jpg" alt="Southampton Saison <br>$9.99/750ml bottle" height="91" width="125" border="0"></a><!--encode_id=7-->									<p><b><A href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=7')">Southampton Saison <br>$9.99/750ml bottle</a><!--encode_id=7--></b><br/> There are only two places that you'll find this delicious tribute to the Farmhouse Ales of Belgium and France – at the brewery in Long Island, New York and at Heinen's.  This golden-hued ale is bright and refreshing, showing citrus and tropical notes balanced by an earthy edge that carries the unique flavors.<br/><A href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=7')">Click here to read more.</a><!--encode_id=7--></p>
</div>
</div>
<!-- COL 4 background-color:#A12830; -->
<div class="dept_column">
<div class="dept_column_inner">
<!-- BEGIN PANEL -->
<div class="roundcont" style="width:135px">
<div class="panel_small" style="background-color:#A12830;height:50px">
<div class="roundtop">
<div align="left"><img class="corner" style="display: none" src="http://heinens.econtempodg.com/ws/1108/images/corners_01.png" alt=""></div>
</div>
<div class="panel_center">
<a href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=9')">	<img src="http://heinens.econtempodg.com/ws/1108/images/feature_special.gif" alt="Special Events" height="34" width="101" border="0"></a><!--encode_id=9--></div>
<div class="roundbottom">
<div align="left"><img class="corner" style="display: none" src="http://heinens.econtempodg.com/ws/1108/images/corners_03.png" alt="" height="10" width="10"></div>
</div>
</div>
</div>
<!-- END PANEL --></div>
<!-- close inner -->
<div class="content">
<a href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=9')"><img src="http://heinens.econtempodg.com/ws/1108/images/tasting_img.gif" alt="" height="91" width="126" border="0"><!--encode_id=9--></a>
<p><span style="color: #752124;font-weight: bold;">Host a Private Event</span><br/> Heinen's makes their café and wine areas available for small get togethers, wine tasting parties and specialty food tastings. For information on how to plan a private wine tasting, please contact <A href="mailto:wineconsultant18@heinens.com?subject=Heinen's Private Wine Tastings&body=Laurie Toth, West Side 440.937.7660">Laurie Toth</A><!--encode_id=null-->  on the West side.
<br/><br/>
<b><a href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=9')">Wine and Beer Tastings</a><!--encode_id=9--></b><br/>
<b>November 7-8</b> - World Series of Wine<br>
<b>November 14</b> - Rocky River<br>
<strong>November 21 </strong>- University Heights<br>
<br>
These tastings begin at 6:30pm and cost only $20 per person. Reservations must be made in advance at the stores.<br>
<br>
<A href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=9')">Click here to read more.</a></p>
</div>
</div>	<div class="dept_column" >
<div class="dept_column_inner">
<!-- BEGIN PANEL -->
<div class="roundcont" style="width:135px">
<div class="panel_small" style="background-color:#F2D29B;height:50px">
<div class="roundtop">
<div align="left"><img class="corner" style="display: none" src="http://heinens.econtempodg.com/ws/1108/images/corners_01.png" alt=""></div>
</div>
<div class="panel_center">
<a href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=8')">	<img src="http://heinens.econtempodg.com/ws/1108/images/feature_cheese.gif" alt="The Cheese Shop" height="34" width="101" border="0"></a><!--encode_id=8--></div>
<div class="roundbottom">
<div align="left"><img class="corner" style="display: none" src="http://heinens.econtempodg.com/ws/1108/images/corners_03.png" alt="" height="10" width="10"></div>
</div>
</div>
</div>
</div>

<!-- END PANEL -->
<!-- close inner -->
<div class="content">
<a href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=8')">	<img src="http://heinens.econtempodg.com/ws/1108/images/cheese_lg.jpg" alt="" height="91" width="125" border="0"></a><!--encode_id=8-->										<p><span style="color: #752124;font-weight: bold;">Parmigiano Reggiano: The King of Cheeses</span><br/>
As we celebrate Parmigiano Reggiano month at Heinen's - November 2008 - we're excited to share with you some fun and interesting facts about the cheese that has earned the distinction of King. Here, we tell you everything you never new about the world's most perfect cheese.<br>
<br/>
<a href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=8')">Click here</a><!--encode_id=8--> to see your Heinen's Cheese Monger's favorite cheeses of the month!<br></p>
</div>
</div>
<!-- BEGIN SMACKDOWN #F2D29B--><!-- BEGIN PANEL -->
<div class="bar">
<div class="roundcont">
<div class="panel" style="color:white;background-color:#959574;">
<div class="roundtop">
<div align="left"><img class="corner" style="display: none" src="http://heinens.econtempodg.com/ws/1108/images/corners_01.png" alt=""></div>
</div>
<div class="panel_center">
<img src="http://heinens.econtempodg.com/ws/1108/images/header_smackdown.gif" alt="The Cheese Shop" height="15" width="275" border="0"></div>
<div class="roundbottom">
<div align="left"><img class="corner" style="display: none" src="http://heinens.econtempodg.com/ws/1108/images/corners_03.png" alt="" height="10" width="10"></div>
</div>
</div>
</div>
</div></div>
<!-- END PANEL -->

<div class="article">
<div class="article_left2">
<div class="vin_header" >
<A href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=10')">Which Goes Better With Cheese?</a><!--encode_id=10-->                </div>
<p>We believe that wine <i>and</i> beer create some downright incredible flavor combinations with fine cheeses.</i> For years, many people have thought that wine alone was the ideal companion to cheese, but we have discovered (through exhaustive research) that in some cases, beer can be the perfect pairing to certain cheeses.</b><br /><br />Every month, we gather a tasting panel of our Wine, Beer, and Cheese Specialists to blind taste beers and wines with our featured cheese.</b> The beverage that creates the most memorable flavor experience is the winner of the "Smackdown".</b> We look forward to sharing our tasting experiences with you.</b> We hope you enjoy our discoveries and eagerly await your comments!</b><br /><br />

This month – Tuscan Red Wines vs.</b> Brown Ales paired with:<br />
<b>Academia Barilla</b><br />
<b>Pecorino Gran Cru</b><br /><br/>
Fragrant, with notes of herbs and wildflowers indigenous of Sardinia, this aged cheese is both robust and delicate at the same time.</b> The sweetness of the sheep's milk is balanced by a slight smokiness that comes from 20 months of aging.<br/><br/>Grate this fabulous cheese over pasta, but to really get the full effect of the mélange of flavors, enjoy it as a table cheese you can be proud to serve your friends and family.<br/><A href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=10')">Click here to read more.</a><!--encode_id=10--></p>
</div>
<div class="article_right2"><a href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=10')"><img src="http://heinens.econtempodg.com/ws/1108/images/smackdown_cheese.jpg" alt="Which Goes Better With Cheese?" height="196" width="125" border="0"></a><!--encode_id=10--></div><div class="article_right2"><a href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=10')"><img src="http://heinens.econtempodg.com/ws/1108/images/label_smackdown_1.jpg" alt="Which Goes Better With Cheese?" height="106" width="125" border="0"></a><!--encode_id=10--></div>

</div>
<!-- BEGIN Perfect Pairning  #F2D29B--><!-- BEGIN PANEL -->
<div class="bar">
<div class="roundcont">
<div class="panel" style="color:white;background-color:#F2D29B;">
<div class="roundtop">
<div align="left"><img class="corner" style="display: none" src="http://heinens.econtempodg.com/ws/1108/images/corners_01.png" alt=""></div>
</div>
<div class="panel_center">
<img src="http://heinens.econtempodg.com/ws/1108/images/header_perfect.gif" alt="The Cheese Shop" height="15" width="170" border="0"></div>
<div class="roundbottom">
<div align="left"><img class="corner" style="display: none" src="http://heinens.econtempodg.com/ws/1108/images/corners_03.png" alt="" height="10" width="10"></div>
</div>
</div>
</div>
</div></div>
<!-- END PANEL -->
<div class="article">
<div class="article_right1"><img src="http://heinens.econtempodg.com/ws/1108/images/perfectpairing.jpg" alt="Perfect Pairings" width="125" height="153"><br><img src="http://heinens.econtempodg.com/ws/1108/images/perfect_pairings_2.gif" alt="Perfect Pairings" width="125" height="90" vspace="12"></div>
<div class="article_left3">
<p>Our local cheese artisan, <strong>Jean MacKenzie</strong>, brings us what is quite possibly the best fresh goat cheese being made in North America today – and we're not biased just because she's local! There is a bright lemon acidity to the cheese that is perfectly balanced with the rich flavor and texture.</p>
<p><strong>November 7th through the 9th</strong>, our stores will be featuring this great cheese with an equally impressive ale from Long Island, NY. <strong>Southampton Saison</strong> is a stunningly complex beer made in the farmhouse ale style of Belgium and France.  Great news for Cleveland…there's only two places you can get this fine beer…Long Island, New York and Heinen’s.</p>
<p>Both the cheese and the beer share a bright, tangy quality. Tasted together, the flavors combine to create a memorable taste that is fresh and delicious.</p>
</div>
</div>
<!--END ARTICLE-->
<!-- END CHEESE --><!-- BEGIN HEINENS-->
<div id="footer">
<div class="article" style="background-color:#DA7926;">
<div class="article_left">
<a href="javascript:openWindow('http://heinens.econtempodg.com/ws/1108/popup.php?pid=10')" border="0"><img src="http://heinens.econtempodg.com/ws/1108/images/heinens.gif" alt="Heinen's Fine Foods" height="60" width="100" border="0"></a></div>
<div class="article_left" style="width:450px">
<div class="article_content">
For more information, visit your neighborhood Heinen’s store, or please logon to <a href="http://www.heinens.com">www.heinens.com</a><!--encode_id=null--><br>
Please send any questions or comments about this newsletter to <a href="mailto:consumeraffairs@heinens.com?subject=Wine Bin Newsletter Inquiry">consumeraffairs@heinens.com</a><!--encode_id=null--><br>
This newsletter contains wine information, updates and offers provided exclusively by Heinen’s and will be sent to you monthly.<br>
Click here to <a href="#">subscribe/unsubscribe</a><!--encode_id=null--> to the e-Wine Source mailing list.						</div>
</div>
</div>
</div><!--END FOOTER -->
<!-- END CONTENT-->
</div><!-- END CONTAINER INNER --><!-- END CONTAINER OUTER --></td></tr>
</table>
</body>

</html>


*********************************Javascript


function checkPopup (){
//get variable for page request
//get variable for page request

    
    
    linkURL = ""
    
    if (parent.document.URL) {
        callingURL = parent.document.URL
        if (callingURL.indexOf('?') != -1) {
            linkURL = callingURL.substring(callingURL.indexOf('?') +1,callingURL.length)
        
        }
    }
  
    
    
    
    
    if (linkURL.substring(0,4) == "java"){
        justLink = linkURL.split("javascript:openWindow('");
    
        justLink2 = justLink[1].substring(0,justLink[1].length-2);
        
        }else{
        justLink2 = linkURL;
        }
    if (linkURL != ""){
        options = 'width=520,height=465,resizable=no,scrollbars=no';
        popup = window.open(justLink2,'Heinens',options);
        }
     
                


}


function consultSwitch(sel){
   
if (sel >= 0){
	i = sel;
    
    
}else{
	i = sel.options[sel.selectedIndex].value;
}

  
// alert (sel);
//split record for each consultant
var consultantProfile = Consultants[i].split("|");

//images are all labeled by last name
var findImgName = consultantProfile[0].split(" ");
var firstName = findImgName[0];
 firstName =  firstName.replace("_"," & ");
// alert(firstName);
if (consultantProfile[0] == ""){
var imgPath = "images/icons_blank.gif"

}else{
         
var imgPath = "images/specialists/" + findImgName[1].toLowerCase() + ".jpg";//IMG
}

	//alert (imgPath);	
//:TODO: CONSOLIDATE BROWSER CONDITIONALS

if (consultantProfile[3] == false || consultantProfile[3] == ""){
	if (consultantProfile[4] == false){
		consultantProfile[4] = ' ';
	}else{
		consultantProfile[4] = '<BR>' + consultantProfile[4];
	}
	subheader = consultantProfile[4];
}else{

	subheader = '<BR>' + '<strong>' + consultantProfile[3] + '</strong><br/> ' + consultantProfile[4];

}


if (document.getElementById || document.layers){
	document.getElementById("wine").innerHTML = "<B>" + consultantProfile[2]  + "</B>";
	document.getElementById("title").innerHTML = "<B>"+firstName + "</B>";
	if (subheader){
		document.getElementById("varietal").innerHTML = subheader;
	}
	document.getElementById("wineDescrip").innerHTML = "<BR><BR>" +consultantProfile[5];
} else{

	document.all("wine").innerHTML = "<B>" + consultantProfile[2] + "</B>";
	document.all("title").innerHTML = "<B>" + firstName + "</B>";
	if (subheader){
	document.all("varietal").innerHTML = subheader;
	}
	document.all("wineDescrip").innerHTML = "<BR><BR>" + consultantProfile[5];

}
document.portrait.src = imgPath;//Show consultant's photo
}

function home(){
if (document.all){
	window.self.close();
}else{
	window.close();
}
}


function openWindow (ul){
options = 'resizable=yes,scrollbars=yes';
popup = window.open(ul,'Heinens',options);

}

//onerror = errWindow();

function errWindow(errMsg,location,lineNum){
debugWin= window.open("","debugWin","height=200,width=300,resize=yes")
debugWin.document.write("<H2>There was an error at line " + lineNum)
debugWin.document.write("<BR>The error was: " + errMsg)
debugWin.document.close()
return true
}		

 

 

Link to comment
https://forums.phpfreaks.com/topic/130004-pop-up-javascript/#findComment-675094
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.