$value ) { $array[strtolower( $key ) ] = strtolower( $value ); } $sUrl = ''; if ( isset( $array['hoteldetails'] ) ) { // 'DEPRECATED - this was used temporarily for PPC to go direct into hotel details. $sURL = "http://www.superbreak.com/home.cfm?Company=in036&Content=Hotel&GroupID=" . $array['groupid']; } elseif ( isset( $array['company'] ) && strlen( $array['company'] ) > 0 ) { /* Else If Request.QueryString("Company") <> "" Then 'All Superbreak pages follow a set format. Any page on Superbreak site is automatically rebranded for our 'site by changing 'company=admin' to 'company=in036'. Therefore you can link to any page in Superbreak 'site by copying the querystring in their URL and changing the company variable as above. This option 'path takes all of querystring and appends it to Superbreak URL and displays in frame below. Examples: 'HOTEL DETAIL - /book1.asp?company=in036&content=hotel&groupid=4006 'GOLF BREAKS HOMEPAGE - /book1.asp?company=in036&content=golfbreaks 'GOLF BREAK DETAIL - /book1.asp?company=in036&content=golfdisplay&golfid=7 'THEATRE BREAKS HOMEPAGE - /book1.asp?company=in036&content=showsavailable 'THEATRE BREAK DETAIL - /book1.asp?company=in036&content=showdetail&showcode=13 */ $sURL = "http://www.superbreak.com/home.cfm?" . $_SERVER['QUERY_STRING']; //& Request.QueryString } elseif ( isset( $array['sburl'] ) && strlen( $array['sburl'] ) > 0 ) { //Else If Request.QueryString("SBURL") <> "" Then $sURL = $_REQUEST['sburl']; } else { $sURL = "book_sbsearch.htm"; } ?> <body> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-4821442-61"); pageTracker._trackPageview(); } catch(err) {}</script> </body>