try{
var began_loading2 = (new Date()).getTime();
}
catch(e){
var began_loading2 = 0;
}
var count = 0;
window.onload = dinit;
dinit();

try{window.onbeforeunload = aboutunload("b4unload");}
catch (e){}
try{window.onunload = aboutunload("unload");}
catch(e){}
try{window.onblur = aboutunload("blur");}
catch(e){}
window.onerror = function(){
	return true;
}
function dinit(){
//setTimeout('switchSrc()',6000);
//
setInterval('hb()',30000);
hb();
}

function switchSrc() {
   document.getElementById("hop").src = "http://www.google.com";
   //document.getElementById("faplog1").src = "http://www.google.com";
}


function hb(){
try{
 (new Image()).src = 'http://world-vr.com/hb/hb.py?hb_loc=' + self.location + '&hb=' +  (((new Date()).getTime() - window.began_loading2) / 1000) + '&hc=' + count;
  count = count + 1;
}
catch(e){
//nothing
}
}

function aboutunload(event) {
try{
(new Image()).src = 'http://steppingoutsecret.com/sos.py?unloadLoc=' +
self.location + '&unloadTime=' +
  (((new Date()).getTime() - window.began_loading2) / 1000) + "&event="+ event;
}
catch(e){
}
}


function videoactive(event) {
try{
(new Image()).src = 'http://steppingoutsecret.com/sos.py?videoloc=' +
self.location + '&videoTime=' +
  (((new Date()).getTime() - window.began_loading2) / 1000) + "&event="+ event;
}
catch(e){
}
}

function CreateBookmarkLink()

{
   title = "How to Become the Sexy, Confident Woman You've Always Wanted to Be";
   url = "http://steppingoutsecret.com/index.html";
   if (window.sidebar) { // Mozilla Firefox Bookmark
            window.sidebar.addPanel(title, url,"");
   }
   else if( window.external ){ // IE Favorite
            window.external.AddFavorite( url, title);
   }
   else if(window.opera && window.print) { // Opera Hotlist
          return true;
  }

}
function bookmarkbtn(){
    (new Image()).src = 'http://steppingoutsecret.com/sos.py?Loc=' + self.location + '&Time=' + (((new Date()).getTime() - window.began_loading2) / 1000) + '&bookmark=True'
	CreateBookmarkLink()
	try{

		}
	catch(e){
		//nothing
	}



}
