var theText = new Array(2);
var whichText;

// To add more faq files, continue with the pattern below, adding to the array.  Note: no carriage returns are allowed

//theText[0] = '<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td width="154" height="251" valign="top"><span class="titles">Click below for directions...</span><br><br><a href="#" onClick="showDirections(0);" onMouseOver="window.status=\'directions from the west\';return true;">from the west</a><br><a href="#" onClick="showDirections(1);" onMouseOver="window.status=\'directions from the north via I-45\';return true;">from the north via I-45</a><br><a href="#" onClick="showDirections(2);" onMouseOver="window.status=\'directions from the south via I-45\';return true;">from the south via I-45</a><br><a href="#" onClick="showDirections(3);" onMouseOver="window.status=\'directions from the east\';return true;">from the east</a><br><a href="#" onClick="showDirections(4);" onMouseOver="window.status=\'directions from the Astrodome area\';return true;">from the Astrodome area</a><br><a href="#" onClick="showDirections(5);" onMouseOver="window.status=\'directions from the 288 area\';return true;">from the 288 area</a><br><a href="#" onClick="showDirections(6);" onMouseOver="window.status=\'directions from the galleria area\';return true;">from the galleria area</a><br><a href="#" onClick="showDirections(7);" onMouseOver="window.status=\'directions from the galleria area alternate\';return true;">from the galleria area alternate</a></td><td width="332" valign="top" id="ContentArea2">ooh<!--DWLayoutEmptyCell-->&nbsp;</td></tr></table>';

theText[0] = '<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td width="154" height="251" valign="top"><span class="titles">Click below for directions...</span><br><br><a href="#" onClick="showDirections(0);" onMouseOver="window.status=\'directions from the west\';return true;">from the west</a><br><a href="#" onClick="showDirections(1);" onMouseOver="window.status=\'directions from the east\';return true;">from the east</a><br><a href="#" onClick="showDirections(2);" onMouseOver="window.status=\'directions from the north via the Beltway\';return true;">from the north via the Beltway</a><br><a href="#" onClick="showDirections(3);" onMouseOver="window.status=\'directions from the north via I-45\';return true;">from the north via I-45</a><br><a href="#" onClick="showDirections(4);" onMouseOver="window.status=\'directions from the north via Highway 59\';return true;">from the north via Highway 59</a><br><a href="#" onClick="showDirections(5);" onMouseOver="window.status=\'directions from the south via the Beltway\';return true;">from the south via the Beltway</a><br><a href="#" onClick="showDirections(6);" onMouseOver="window.status=\'directions from the southeast via I-45\';return true;">from the southeast via I-45</a><br><a href="#" onClick="showDirections(7);" onMouseOver="window.status=\'directions from the south via Highway 59\';return true;">from the south via Highway 59</a></td><td>&nbsp;&nbsp;&nbsp;</td><td width="332" valign="top" id="ContentArea2"><span class="titles">&nbsp;</span><br><br><span class="block">The ComedySportz Arena is located at 901 Town & Country Boulevard which is in the southeast corner of I-10 West and the Sam Houston Tollway.  We are directly behind the Four Points Sheraton Hotel, and are most easily accessed from the eastbound feeder of I-10/Katy Freeway.</span><!--DWLayoutEmptyCell-->&nbsp;</td></tr></table>';

//theText[1] = '<div align="center"><a href="http://www.mapquest.com/maps/map.adp?country=US&addtohistory=&address=901%2BTown%2Band%2BCountry%2BBlvd.&city=Houston&state=TX&zipcode=77024&homesubmit=Get%2BMap" target="_blank"><img src="map.gif" width="408" height="327" border="0"></a><br><span class="standard">(Click for more detail)</span></div>';

theText[1] = '<div align="center"><iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=ComedySportz+Houston,+Houston,+TX&amp;sll=29.532103,-95.320707&amp;sspn=0.215973,0.299377&amp;ie=UTF8&amp;hq=ComedySportz+Houston,&amp;hnear=Houston,+Harris,+Texas&amp;t=h&amp;cid=10011149308447014555&amp;ll=29.786913,-95.560756&amp;spn=0.013036,0.018239&amp;z=15&amp;iwloc=A&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=ComedySportz+Houston,+Houston,+TX&amp;sll=29.532103,-95.320707&amp;sspn=0.215973,0.299377&amp;ie=UTF8&amp;hq=ComedySportz+Houston,&amp;hnear=Houston,+Harris,+Texas&amp;t=h&amp;cid=10011149308447014555&amp;ll=29.786913,-95.560756&amp;spn=0.013036,0.018239&amp;z=15&amp;iwloc=A" style="color:#0000FF;text-align:left">View Larger Map</a></small></div>';

//var intWhich = 0;
function showLocation(whichText) {
    if (document.all) {
        // IE
        var objContent = document.all.ContentArea;
    }
    else if (document.layers) {
        // Nav4
        var objContent = document.layers.ContentArea;
    }
    else if (document.getElementById) {
        // Standard
        var objContent = document.getElementById("ContentArea");
    }

    objContent.innerHTML = theText[whichText];

    //intWhich++;
    //setTimeout('showFaq(intWhich)', 1000);
}
