Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <META HTTP-EQUIV="Expires" CONTENT="Tue, 01 Jan 1980 1:00:00 GMT">
- <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <script language="javascript">
- <!--
- ExitNow = 0;
- ToolBarWin="toolbar=no,status=no,menubar=0,scrollbars=no,resizable=0,resizable=no,width=700,height=140";
- urlopen = "";
- /////////////////////////////////////////////// UNLOAD EVENT
- function DoUnload()
- {
- if (stopUnload == 0) {
- if (ExitNow == 0)
- {
- oldname=self.name;
- self.name=self.name+"xx";
- win=open("http://12.16.126.98//std/staybridge/toolbar.php", "superclick_toolbar", ToolBarWin);
- if (win) self.close(); else self.name=oldname;
- }
- else
- if ( ExitNow != 2 ) self.close();
- }
- }
- /////////////////////////////////////////////// RELOAD
- function doreload()
- {
- ExitNow=2;
- location.reload();
- }
- /////////////////////////////////////////////// DISCONNECT
- function OnDisconnect()
- {
- ExitNow=1;
- open("disconnect.php", "close_me" , "toolbar=yes,status=yes,menubar=yes,scrollbars=yes,resizable=1,width="+screen.width+",height="+screen.height);
- self.close();
- }
- ////////////////////////////////////////////// GET WINDOW WIDTH
- function getClientWidth() {
- return document.body && typeof document.body.clientWidth != 'undefined' ? document.body.clientWidth : window.innerWidth ? innerWidth : null;
- }
- ////////////////////////////////////////////// GET WINDOW HEIGHT
- function getClientHeight() {
- return document.body && typeof document.body.clientHeight != 'undefined' ? document.body.clientHeight : window.innerHeight ? innerHeight : null;
- }
- ////////////////////////////////////////////// OPEN A PREFERITES URL
- function pickurl(me)
- {
- myurl=me.form.url.value;
- if ( myurl != "" ) win=open(myurl, "SCFavourites" , "");
- }
- ////////////////////////////////////////////// OPEN A GENERIC URL
- function openurl()
- {
- win=open("http://12.16.126.98//std/staybridge/toolbar.php?preview=0", "superclick_toolbar", ToolBarWin);
- // if ( ! win ) {
- // alert("Pop-ups are disabled, the toolbar won't be available");
- // }
- ExitNow=2;
- document.location="";
- }
- function loaded() {
- if ( urlopen != "" || self.name == "" ) {
- window.setTimeout("openurl()",500);
- } else {
- self.name="superclick_toolbar";
- //window.setTimeout("doreload();",60000);
- }
- }
- ////////////////////////////////////////////// OPEN THE PIN CREATION WINDOW
- function OpenWifi()
- {
- nw=open("mywifi.php", "my_wifi" , "toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=1,width=326,height=148,screenX="+((screen.width-500)/2)+",screenY="+((screen.height-140)/2));
- if ( ! nw ) { alert("Pop-ups are disabled, the wifi toolbox won't be available"); }
- }
- ////////////////////////////////////////////// OPEN THE REALIP CREATION WINDOW
- function OpenRealip(release)
- {
- switch ( release ) {
- case 0:
- if (confirm("Do you confirm the request for a Routable IP ?"))
- url="getrealip.php";
- nw=window.open(url, "my_realip" , "toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=1,width=326,height=148,screenX="+((screen.width-326)/2)+",screenY="+((screen.height-148)/2));
- if ( ! nw ) { ExitNow=1; document.location=url; }
- break;
- case 1:
- if (confirm("Do you confirm the request to abandon your Routable IP ?"))
- url="getrealip.php?release=1";
- nw=open(url , "my_realip", "toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=1,width=326,height=148,screenX="+((screen.width-326)/2)+",screenY="+((screen.height-148)/2));
- if ( ! nw ) { ExitNow=1; document.location=url; }
- break;
- }
- }
- ////////////////////////////////////////////// OPEN THE HCN WINDOW
- function OpenCasino(url) {
- nw=open(url, "hcn" , "toolbar=yes,status=yes,menubar=yes,scrollbars=yes,resizable=1,width=640,height=480,screenX="+((screen.width-640)/2)+",screenY="+((screen.height-480)/2));
- if ( ! nw ) { alert("Pop-ups are disabled, the toolbar won't be available"); }
- }
- //-->
- </script>
- <title>Toolbar</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <link href="toolbar.css" rel="stylesheet" type="text/css">
- <script language="JavaScript" type="text/JavaScript">
- <!--
- function MM_findObj(n, d) { //v4.01
- var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
- d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
- if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
- for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
- if(!x && d.getElementById) x=d.getElementById(n); return x;
- }
- function MM_showHideLayers() { //v6.0
- var i,p,v,obj,args=MM_showHideLayers.arguments;
- for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
- if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
- obj.visibility=v; }
- }
- function MM_preloadImages() { //v3.0
- var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
- var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
- if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
- }
- function MM_swapImage() { //v3.0
- var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
- if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
- }
- function MM_swapImgRestore() { //v3.0
- var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
- }
- //-->
- </script>
- </head>
- <body style="background-color:#FFFFCC; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;" onLoad="MM_showHideLayers('info','','show','services','','hide','local','','hide'); loaded();MM_preloadImages('images/btn_services.gif','images/btn_local.gif','images/btn_info.gif','images/btn_info_r.gif','images/btn_services_r.gif','images/btn_local_r.gif')" onUnLoad="DoUnload();">
- <form name="myform1" method="GET" action="toolbar.php"><input type="hidden" name="PHPSESSID" value="ad9b69e2e46978432290a16c965bc200" />
- <input name="subRate" type=hidden value="">
- </form>
- <div class="toolbar" id="toolbarlayer">
- <div class="logo"><a href="http://www.integratir.com/quote_chart.asp?ticker=spck" target="_blank"><img src="images/logo.gif" width="158" height="37" border="0"></a></div>
- <div class="weather" style="z-index:1000">
- <a href='http://mds.superclick.com/mds/adclick.php?hotelid=1217&bannerid=474&zoneid=75&source=&dest=https%3A%2F%2Fmama.superclick.com%2Fweather%2Fweather1.php%3Fhotelid%3D%24hotelid%26degrees%3DF' target='_blank'><img src='http://mds.superclick.com/mds/adimage.php?filename=weather_2.gif&contenttype=gif' width='110' height='50' alt='' title='' border='0'></a><div id="beacon_474" style="position: absolute; left: 0px; top: 0px; visibility: hidden;"><img src='http://mds.superclick.com/mds/adlog.php?hotelid=1217&bannerid=474&clientid=124&zoneid=75&source=&block=0&capping=0&cb=bd40da5919b84b86cdbea08a195ca0c5' width='0' height='0' alt='' style='width: 0px; height: 0px;'></div><a href='http://mds.superclick.com/mds/adclick.php?hotelid=1217&bannerid=473&zoneid=44&source=&dest=http%3A%2F%2Fmds.superclick.com%2Fmds%2Fairport.php' target='_blank'><img src='http://mds.superclick.com/mds/adimage.php?filename=flight_stats_3.gif&contenttype=gif' width='110' height='50' alt='' title='' border='0'></a><div id="beacon_473" style="position: absolute; left: 0px; top: 0px; visibility: hidden;"><img src='http://mds.superclick.com/mds/adlog.php?hotelid=1217&bannerid=473&clientid=124&zoneid=44&source=&block=0&capping=0&cb=ec574d4706f5b3fd387660ffaeb631cf' width='0' height='0' alt='' style='width: 0px; height: 0px;'></div>
- </div>
- <div class="main_local" id="local" style="visibility:hidden">
- <br>
- <left>
- <FORM method=GET name=myform action="http://www.google.com/search" target="_blank"><input type="hidden" name="PHPSESSID" value="ad9b69e2e46978432290a16c965bc200" />
- <input type=hidden name=ie value=UTF-8>
- <input type=hidden name=oe value=UTF-8>
- <table border="0" cellpadding="0" cellspacing="0" class="main_text" width=300>
- <tr>
- <td width=100%> <select style="background-color:#ffffdd" onchange="openWindow(this.value);" onfocus="clearTimeout(timerID);"><option value="">Internet Favorites</option><option value="http://www.cnn.com">CNN<option value="http://www.ichotelsgroup.com">InterContinental Hotels Group<option value="http://www.priorityclub.com">InterContinental Priority Club<option value="http://www.superclick.com/weather/weather.php?hotelid=1217&mode=f">Local Weather</select></td></tr></table> <!-- Google Safe Search -->
- <br>
- <TABLE border="0" cellpadding="0" cellspacing="0"><tr><td width=5%> </td><td width=95% nowrap>
- <INPUT TYPE=text style="background-color:#ffffdd" name=q size=21 maxlength=255 value="" onclick="clearTimeout(timerID);">
- <INPUT type=hidden name=safe value=strict>
- <a href="javascript:document.myform.submit();"><img align=middle src="images/google.jpg" border=0></a>
- </td></tr></TABLE>
- </FORM>
- </left>
- <!-- Google SafeSearch -->
- </div>
- <div class="main_services" id="services" style="z-index:1000">
- <table border="0" cellpadding="0" cellspacing="0" class="main_text">
- </table>
- </div>
- <div class="main_info" id="info" style="z-index:1000">
- <table width="100%" height="72" border="0" cellpadding="0" cellspacing="0" class="main_text">
- <tr>
- <td width="43%"> </td>
- <td width="42%"> </td>
- <td width="15%"> </td>
- </tr>
- <tr>
- <td>Room:</td>
- <td>AP room 229</td>
- <td> </td>
- </tr>
- <tr>
- <td>Current IP:</td>
- <td>10.1.241.202</td>
- <td> </td>
- </tr>
- </td>
- <td> </td>
- </tr>
- <tr>
- <td> </td>
- </tr>
- <tr>
- <td colspan="2"><div align="center">
- [<a href="javascript:OpenWifi(0);">WiFi Access Code</a>]
- <div id='disconnect'>
- <a href="javascript:OnDisconnect();"><img src="images/disconnect.png" border="0" align="bottom"></a></div>
- </div>
- </td>
- <td> </td>
- </tr>
- </table>
- </div>
- <div class="info" style="z-index:1000"><a href="javascript:MM_showHideLayers('info','','show','services','','hide','local','','hide');MM_swapImage('tabinfo','','images/btn_info_r.gif','tabservices','','images/btn_services.gif','tablocal','','images/btn_local.gif',1)"><img src="images/btn_info_r.gif" alt="" name="tabinfo" width="82" height="22" border="0" id="tabinfo"></a></div>
- <div class="services" style="z-index:1000"><a href="javascript:MM_showHideLayers('info','','hide','services','','show','local','','hide');MM_swapImage('tabinfo','','images/btn_info.gif','tabservices','','images/btn_services_r.gif','tablocal','','images/btn_local.gif',1)"><img src="images/btn_services.gif" alt="" name="tabservices" width="77" height="22" border="0" id="tabservices"></a></div>
- <div class="local" style="z-index:1000"><a href="javascript:MM_showHideLayers('info','','hide','services','','hide','local','','show');MM_swapImage('tabinfo','','images/btn_info.gif','tabservices','','images/btn_services.gif','tablocal','','images/btn_local_r.gif',1)"><img src="images/btn_local.gif" alt="" name="tablocal" width="77" height="22" border="0" id="tablocal"></a></div>
- <div id=banner1 class="banner1" style="z-index:1000"></div>
- <div id=banner2 class="banner2" style="z-index:1000"></div>
- <div class="spacer01"> <img src="images/spacer01.gif" width="4" height="139" alt=""> </div>
- <div class="spacer02"> <img src="images/spacer02.gif" width="551" height="8" alt=""> </div>
- <div class="spacer03"> <img src="images/spacer03.gif" width="77" height="22" alt=""> </div>
- <div class="spacer04"> <img src="images/spacer04.gif" width="4" height="131" alt=""> </div>
- <div class="spacer05"> <img src="images/spacer05.gif" width="11" height="109" alt=""> </div>
- <div class="spacer06"> <img src="images/spacer06.gif" width="8" height="102" alt=""> </div>
- <div class="spacer07"> <img src="images/spacer07.gif" width="234" height="10" alt=""> </div>
- <div class="spacer08"> <img src="images/spacer08.gif" width="713" height="7" alt=""> </div>
- </div>
- <script language="javascript">
- sc_connection_type = "wifi";
- var closeWindow = 0;
- var expireTime = 0;
- var now = 1208025600;
- var tb_refresh = 2700;
- var timeLeft = expireTime - now;
- var hours =0;
- var mins = 0;
- var secs = 0;
- var alreadySet =0;
- item1 = document.getElementById("timer1");
- item4= document.getElementById("disconnect");
- //item4Bak = item4.innerHTML;
- var stopUnload = 0;
- function reSubscribe(){
- item5 = document.getElementById("rate1");
- document.myform1.subRate.value= item5.value;
- stopUnload = 1;
- document.myform1.submit();
- }
- function timeLeft1(){
- //document.write(item1.innerHTML + "1");
- hours = Math.floor(timeLeft / 3600);
- mins = Math.floor((timeLeft%3600) / 60 );
- secs = (timeLeft%3600) % 60;
- if (timeLeft % tb_refresh == 0){
- self.name=self.name+"xx";
- win=open("http://12.16.126.98//std/staybridge/toolbar.php", "superclick_toolbar", ToolBarWin);
- if (win)
- self.close();
- }
- if (timeLeft < 0){
- item1.innerHTML= "<font color=red>Waiting for New Subscription to Start</font>";
- window.setTimeout("DoUnload()",9000);
- item2 = document.getElementById("disconnect");
- item2.style.visibility='hidden';
- } else item1.innerHTML = hours + "h "+ mins + "m " + secs + "s";
- timeLeft--;
- if (closeWindow == 0){
- if (sc_connection_type == "guestroom"){
- if (timeLeft <= 600){
- if (alreadySet ==0)
- alreadySet++;
- }
- }
- }
- if(timeLeft <= 30){
- count = 0;
- if (timeLeft == 30){
- window.focus();
- }
- }
- if(timeLeft ==0){
- hours = 0;
- mins = 0;
- secs = 0;
- if (closeWindow == 1){
- setTimeout("timeLeft1()", 1000);
- document.myform1.subRate.value = "";
- }else timeExpired();
- } else timerID1 = setTimeout("timeLeft1()", 1000);
- }
- timerID1 = setTimeout("timeLeft1()", 1000);
- // End of Real time counter
- function timeExpired(){
- item2 = document.getElementById("disconnect");
- item2.style.visibility='hidden';
- clearTimeout(timerID1);
- item1.innerHTML = "<font color=red>Connection Expired -- Reconnect!</font>";
- // stop_refresh();
- wint = (screen.width - 800)/2;
- winl = (screen.height - 600)/2;
- newWindow = window.open('/superclick/index.php?id=14','Disclaimer_Page','height=480,width=840,top='+wint+',left='+winl+',scrollbars=no');
- if (window.focus) {newWindow.focus();}
- }
- var count = 0;
- // Start of Rotating Tabs
- function rotateTabs(){
- if (count ==0){
- MM_showHideLayers('info','','show','services','','hide','local','','hide');
- MM_swapImage('tabinfo','','images/btn_info_r.gif','tabservices','','images/btn_services.gif','tablocal','','images/btn_local.gif',1);
- }
- if(count == 1){
- MM_showHideLayers('info','','hide','services','','show','local','','hide');
- MM_swapImage('tabinfo','','images/btn_info.gif','tabservices','','images/btn_services_r.gif','tablocal','','images/btn_local.gif',1);
- }
- if (count == 2){
- MM_showHideLayers('info','','hide','services','','hide','local','','show');
- MM_swapImage('tabinfo','','images/btn_info.gif','tabservices','','images/btn_services.gif','tablocal','','images/btn_local_r.gif',1);
- }
- count++;
- if (count > 2)
- count = 0;
- timerID = setTimeout("rotateTabs()", 10000);
- }
- timerID = setTimeout("rotateTabs()", 10000);
- function openWindow(url){
- newWindow1 = window.open(url,'','left=0,top=0,width='+screen.width+',height='+screen.height+',toolbar=1,resizable=1,menubar=1,scrollbars=yes');
- }
- //End of Rotating Tabs
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement