//NOTE - WHEN INCLUDING JS FILES AS PART OF A SCRIPT TAG REFERENCE (WHICH IS PREFERRED) THERE DOES NOT NEED TO BE A SCRIPT TAG INSIDE THE
//SCRIPT FILE ITSELF.  I.E. THIS FILE.  WHEN INCLUDING THE JS FILE AS PART OF AN INCLUDE STATEMENT THE SCRIPT TAG IS NEEDED IN THIS JS FILE.
//
//page globals to be used as site javascript globals by parent ref...
var lngdefaultgraphic=0;

////Disable right click script III- By Renigade (renigade@mediaone.net)
////For full source code, visit http://www.dynamicdrive.com
//var message="";
/////////////////////////////////////

////code to supress javascript errors entirely
//function blockError(){return true;}
//window.onerror = blockError;

//function clickIE() {if (document.all) {(message);return false;}}
//function clickNS(e) {if
//(document.layers||(document.getElementById&&!document.all)) {
//if (e.which==2||e.which==3) {(message);return false;}}}
//if (document.layers)
//{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
//else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

//document.oncontextmenu=new Function("return false")
//// -->

function science_none(reset, sciencecategory, anatomycategory) {
if (reset == "true") {
lngdefaultgraphic = 0
}//end if
document.all.horseshoe1.src="sitex/science_" + sciencecategory + "_top_r2b_" + lngdefaultgraphic + ".jpg"
document.all.horseshoe2.src="sitex/science_ballsdeep_mid_r1a_" + lngdefaultgraphic + ".jpg"
document.all.horseshoe3.src="sitex/science_" + anatomycategory + "_mid_r4a_" + lngdefaultgraphic + ".jpg"
}//end function

function science_dip(persist, sciencecategory, anatomycategory) {
document.all.horseshoe1.src="sitex/science_" + sciencecategory + "_top_r2b_1.jpg"
document.all.horseshoe2.src="sitex/science_ballsdeep_mid_r1a_1.jpg"
document.all.horseshoe3.src="sitex/science_" + anatomycategory + "_mid_r4a_1.jpg"
    if (persist == "true") {
    lngdefaultgraphic = 1
    }//end if
}//end function

function science_center(persist, sciencecategory, anatomycategory) {
document.all.horseshoe1.src="sitex/science_" + sciencecategory + "_top_r2b_2.jpg"
document.all.horseshoe2.src="sitex/science_ballsdeep_mid_r1a_2.jpg"
document.all.horseshoe3.src="sitex/science_" + anatomycategory + "_mid_r4a_2.jpg"
    if (persist == "true") {
    lngdefaultgraphic = 2
    }//end if
}//end function

function science_ejac(persist, sciencecategory, anatomycategory) {
document.all.horseshoe1.src="sitex/science_" + sciencecategory + "_top_r2b_3.jpg"
document.all.horseshoe2.src="sitex/science_ballsdeep_mid_r1a_3.jpg"
document.all.horseshoe3.src="sitex/science_" + anatomycategory + "_mid_r4a_3.jpg"
    if (persist == "true") {
    lngdefaultgraphic = 3
    }//end if
}//end function








function redirector(where) {
//convert parameter passed to string
strNow = new String(where)
strNow = new String(strNow.toLowerCase())
linksuccess = false //default state
//IE compliant
//FireFox compliant
	//bedroomblackbelt stuff.....................................................................
	if (strNow == "blkbelt_dojo") {
		window.location="default.aspx?index=blackbelt&path=home"
	}//end if
	if (strNow == "blkbelt_moves_str8") {
		window.location="default.aspx?index=blackbelt&path=moves_roster_str8"
	}//end if
	if (strNow == "blkbelt_moves_gay") {
		window.location="default.aspx?index=blackbelt&path=moves_roster_gay"
	}//end if
    if (strNow == "blkbelt_search") {
		window.location="default.aspx?index=blackbelt&path=search_results"
	}//end if
    if (strNow == "blkbelt_cock_owners") {
		window.location="default.aspx?index=blackbelt&path=cock_owners"
	}//end if
	if (strNow == "blkbelt_thinking") {
		window.location="default.aspx?index=blackbelt&path=thinking"
	}//end if
	if (strNow == "blkbelt_body_booth") {
		window.location="default.aspx?index=blackbelt&path=body_booth"
	}//end if
	if (strNow == "blkbelt_order") {
		window.location="default.aspx?index=blackbelt&path=joinus"
	}//end if
	
	//local versions of mini-links
	if (strNow == "blkbelt_resell") {
		window.location="jumper.aspx?jindex=2&index=blackbelt&path=resell"
	}//end if
	if (strNow == "blkbelt_termsofuse") {
		window.location="jumper.aspx?jindex=2&index=blackbelt&path=terms"
	}//end if
	if (strNow == "blkbelt_privacypolicy") {
		window.location="jumper.aspx?jindex=2&index=blackbelt&path=privacy"
	}//end if
	if (strNow == "blkbelt_2257") {
		window.location="jumper.aspx?jindex=2&index=blackbelt&path=2257"
	}//end if

	//g versions of mini-links
	if (strNow == "blkbelt_resell_g") {
		window.location="jumper.aspx?jindex=5&index=blackbelt&path=resell"
	}//end if
	if (strNow == "blkbelt_termsofuse_g") {
		window.location="jumper.aspx?jindex=5&index=blackbelt&path=terms"
	}//end if
	if (strNow == "blkbelt_privacypolicy_g") {
		window.location="jumper.aspx?jindex=5&index=blackbelt&path=privacy"
	}//end if
	if (strNow == "blkbelt_2257_g") {
		window.location="jumper.aspx?jindex=5&index=blackbelt&path=2257"
	}//end if
	
	//sexxxtrainer stuff.....................................................................
	if (strNow == "st_home") {
		window.location="default.aspx?index=sexxxtrainer"
	}//end if
	if (strNow == "st_moves") {
		window.location="default.aspx?index=sexxx_moves"
	}//end if
	if (strNow == "st_stamina") {
		window.location="default.aspx?index=sexxx_stamina"
	}//end if
	if (strNow == "st_blueprint") {
		window.location="default.aspx?index=sexxx_blueprint"
	}//end if
	if (strNow == "st_forum") {
		window.location="default.aspx?index=sexxx_forum"
	}//end if
	if (strNow == "st_moregear") {
		window.location="default.aspx?index=sexxx_hotstuff"
	}//end if
	if (strNow == "st_order") {
		window.location="http://sexxxtrainer.com/hands-free-masturbation/buy-sexxxtrainer.aspx"
	}//end if

    //local versions of mini-links
	if (strNow == "st_wholesale") {
		window.location="jumper.aspx?jindex=1&index=sexxx_wholesale"
	}//end if
	if (strNow == "st_publicity") {
		window.location="jumper.aspx?jindex=1&index=sexxx_publicity"
	}//end if
	if (strNow == "st_resell") {
		window.location="jumper.aspx?jindex=1&index=resell_sexxxtrainer"
	}//end if
	if (strNow == "st_termsofuse") {
		window.location="jumper.aspx?jindex=1&index=sexxx_terms"
	}//end if
	if (strNow == "st_privacypolicy") {
		window.location="jumper.aspx?jindex=1&index=sexxx_privacy"
	}//end if
	if (strNow == "st_2257") {
		window.location="jumper.aspx?jindex=1&index=sexxx_2257"
	}//end if
    if (strNow == "st_patent") {
		window.location="jumper.aspx?jindex=1&index=sexxx_patent"
	}//end if
	
	//g versions of mini-links
	if (strNow == "st_wholesale_g") {
		window.location="jumper.aspx?jindex=4&index=sexxx_wholesale"
	}//end if
	if (strNow == "st_publicity_g") {
		window.location="jumper.aspx?jindex=4&index=sexxx_publicity"
	}//end if
	if (strNow == "st_resell_g") {
		window.location="jumper.aspx?jindex=4&index=resell_sexxxtrainer"
	}//end if
	if (strNow == "st_termsofuse_g") {
		window.location="jumper.aspx?jindex=4&index=sexxx_terms"
	}//end if
	if (strNow == "st_privacypolicy_g") {
		window.location="jumper.aspx?jindex=4&index=sexxx_privacy"
	}//end if
	if (strNow == "st_2257_g") {
		window.location="jumper.aspx?jindex=4&index=sexxx_2257"
	}//end if
    if (strNow == "st_patent_g") {
		window.location="jumper.aspx?jindex=4&index=sexxx_patent"
	}//end if
	if (strNow == "st_setup") {
		window.location="jumper.aspx?jindex=4&index=sexxx_setup1"
	}//end if
    //hardwear stuff.....................................................................
	if (strNow == "hw_home") {
		window.location="http://myhardwear.com/"
	}//end if
	if (strNow == "hw_compare") {
		window.location="default.aspx?index=compare"
	}//end if
	if (strNow == "hw_orgasm") {
		window.location="default.aspx?index=explosiveorgasms"
	}//end if
	if (strNow == "hw_science") {
		window.location="default.aspx?index=science"
	}//end if
	if (strNow == "hw_scienceballsdeep") {
		window.location="default.aspx?index=science_ballsdeep&sciencecategory=ballsdeep"
	}//end if
	if (strNow == "hw_scienceballsdeepcondom") {
		window.location="default.aspx?index=science_ballsdeep&sciencecategory=ballsdeepcondom"
	}//end if
	if (strNow == "hw_scienceequipballsdeep") {
		window.location="default.aspx?index=science_ballsdeepequip"
	}//end if
	if (strNow == "hw_science100shaft") {
		window.location="default.aspx?index=science_ballsdeep&sciencecategory=100shaft"
	}//end if
	if (strNow == "hw_science100shaftcondom") {
		window.location="default.aspx?index=science_ballsdeep&sciencecategory=100shaftcondom"
	}//end if
	if (strNow == "hw_science100shaftvsballsdeep") {
		window.location="default.aspx?index=science_100shaftvsballsdeep"
	}//end if
	if (strNow == "hw_sciencebigsofty") {
		window.location="default.aspx?index=science_bigsofty"
	}//end if
	if (strNow == "hw_sciencebasicequip") {
		window.location="default.aspx?index=science_basicequip"
	}//end if
    if (strNow == "hw_sciencebasicequip2") {
		window.location="default.aspx?index=science_basicequip2"
	}//end if
	if (strNow == "hw_premature") {
		window.location="default.aspx?index=defeat_pe"
	}//end if
	if (strNow == "hw_difficulty") {
		window.location="default.aspx?index=defeat_ed"
	}//end if
	if (strNow == "hw_size") {
		window.location="default.aspx?index=sizesecure"
	}//end if
	if (strNow == "hw_sizemeup") {
		window.location="default.aspx?index=sizemeup"
	}//end if
	if (strNow == "hw_everybodyloves") {
		window.location="default.aspx?index=everybodyloves"
	}//end if
    if (strNow == "hw_order") {
		window.location="http://myhardwear.com/?index=order_hardwear"
	}//end if
	if (strNow == "hw_porn") {
		window.location="default.aspx?index=hotstuff"
	}//end if
	if (strNow == "hw_register") {
		window.location="default.aspx?index=register"
	}//end if
	if (strNow == "hw_forum") {
		window.location="default.aspx?index=forum"
	}//end if
	if (strNow == "hw_registerwebmaster") {
		window.location="default.aspx?index=register&state=-3"
	}//end if

	//local versions of mini-links
	if (strNow == "hw_wholesale") {
		window.location="jumper.aspx?jindex=0&index=wholesale"
	}//end if
	if (strNow == "hw_publicity") {
		window.location="jumper.aspx?jindex=0&index=publicity"
	}//end if
	if (strNow == "hw_resell") {
		window.location="jumper.aspx?jindex=0&index=resell_hardwear"
	}//end if
	if (strNow == "hw_termsofuse") {
		window.location="jumper.aspx?jindex=0&index=terms"
	}//end if
	if (strNow == "hw_privacypolicy") {
		window.location="jumper.aspx?jindex=0&index=privacy"
	}//end if
	if (strNow == "hw_2257") {
		window.location="jumper.aspx?jindex=0&index=2257"
	}//end if
    if (strNow == "hw_patent") {
		window.location="jumper.aspx?jindex=0&index=patent"
	}//end if

	//outbound versions of mini-links
	if (strNow == "hw_wholesale_g") {
		window.location="jumper.aspx?jindex=3&index=wholesale"
	}//end if
	if (strNow == "hw_publicity_g") {
		window.location="jumper.aspx?jindex=3&index=publicity"
	}//end if
	if (strNow == "hw_resell_g") {
		window.location="jumper.aspx?jindex=3&index=resell_hardwear"
	}//end if
	if (strNow == "hw_termsofuse_g") {
		window.location="jumper.aspx?jindex=3&index=terms"
	}//end if
	if (strNow == "hw_privacypolicy_g") {
		window.location="jumper.aspx?jindex=3&index=privacy"
	}//end if
	if (strNow == "hw_2257_g") {
		window.location="jumper.aspx?jindex=3&index=2257"
	}//end if
    if (strNow == "hw_patent_g") {
		window.location="jumper.aspx?jindex=3&index=patent"
	}//end if
    if (strNow == "hw_reload") {
        history.go(0)
	}//end if
    if (strNow == "hw_next") {
        history.go(1)
	}//end if
    if (strNow == "hw_back") {
        history.go(-1)
	}//end if
	if (strNow == "sl_welcome") {
		window.location="default.aspx?index=strongandlong"
	}//end if
	if (strNow == "sl_videoblog") {
		window.location="default.aspx?index=strongandlong_videoblog"
	}//end if
	if (strNow == "bbb_roster") {
		window.location="default.aspx?index=strongandlong_22"
	}//end if
	if (strNow == "bbb_gallery") {
		window.location="default.aspx?index=strongandlong_22"
	}//end if
	if (strNow == "bbb_order") {
		window.location="default.aspx?index=strongandlong_buy"
	}//end if
    //bedroomblackbelt buy options
	if (strNow == "gold_special_1") {
		window.location="util_buychoices.aspx?requesttype=-1" //plan special001 2 weeks for $2
	}//end if
	if (strNow == "goldbuy1") {
		window.location="util_buychoices.aspx?requesttype=1" //plan 1 30days
	}//end if
    if (strNow == "goldbuy1_nr") {
		window.location="util_buychoices.aspx?requesttype=5" //plan 5 30days nr
	}//end if
	if (strNow == "goldbuy3") {
		window.location="util_buychoices.aspx?requesttype=2" //plan 2 90days
	}//end if
	if (strNow == "goldbuy6") {
		window.location="util_buychoices.aspx?requesttype=3" //plan 3 180days
	}//end if
	if (strNow == "goldbuy12") {
		window.location="util_buychoices.aspx?requesttype=4" //plan 4 365days
	}//end if
//------------------------------------------------------marketing OLD
	if (strNow == "menwithcams") {
	    //redirector("zoom")
		//document.all.panel_tabs.src="evander/flaps_3lit.jpg"
		window.open("http://menwithcams.com/cgi-bin/rankem/rankem.cgi?id=estrong")
	}//end if
    if (strNow == "david7toplist") {
	    //redirector("zoom")
		//document.all.panel_tabs.src="evander/flaps_3lit.jpg"
		window.open("http://www.david7toplist.com/vin.php?s=strongandlong")
	}//end if
    if (strNow == "hotebonystuds") {
	    //redirector("zoom")
		//document.all.panel_tabs.src="evander/flaps_3lit.jpg"
		window.open("http://www.websitetoolbox.net/cgi/view/topsites.cgi?topsite=blackboys&ID=strong123")
	}//end if
	    if (strNow == "ultraboy") {
	    //redirector("zoom")
		//document.all.panel_tabs.src="evander/flaps_3lit.jpg"
		window.open("http://ultra-boy.com/cgi-bin/rankem/rankem.cgi?id=estrong")
	}//end if
}//end function