if(MonyMenu == undefined) var MonyMenu = {};var _MonyMenu_Controller = null;var _tab_container = null;var _failed = false;_ajax_timout=0;
MonyMenu.MonyMenu_Controller = function(){
	if(window.ActiveXObject){browser='ie';}else{browser='mos';}
	this.tabLoader = new MonyMenu.loader();
	this.currentTitle = "newtab";
	this.raw_title = "title";
	this.urlArgs = "";
	this.timeOut = 0;
	this.top_menu_loaded = false;
	this.is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
	this.commentID = false;}
MonyMenu.MonyMenu_Controller.prototype = {
	init: function(_self_ref, domain){_MonyMenu_Controller = _self_ref;_tab_container = _self_ref;this.domain = domain;},
	addClickedTitle: function(newTitle){
		this.raw_title = newTitle;
		newTitle = newTitle.replace('\n','');
		document.title = newTitle;
		newTitle = newTitle.strip();
		this.currentTitle = newTitle;
	},
	addWaitDiv: function(on){
		var indicatorDiv = document.getElementById("indicatorDiv");
		if(indicatorDiv){if(on){indicatorDiv.className = "indicatorDiv_on";}else{indicatorDiv.className = "indicatorDiv_off";}}
		if(this.thumbPic){
			if(on){
				this.thumb_indicator_loaded =  true;
				this.thumbPic.style.backgroundColor="#D8EAD8";
				this.thumbPic.src = "http://images.trickfist.com/animated_gifs/Mony_Wait.gif";
			}else{
				this.thumb_indicator_loaded =  false;
				this.thumbPic.style.backgroundColor="transparent";
				this.thumbPic.src = this.thumbPicDiv_src_save;}}
	},
	set_permalinks: function(newURL){var u = escape(newURL);var t = escape(this.raw_title);if(document.getElementById("permaLink")){document.getElementById("permaLink").value = newURL;}/*if(document.getElementById("facebook_link")){document.getElementById("facebook_link").href = "http://www.facebook.com/share.php?u="+u+"&t="+t;}*/},
	load_clicked_URL: function(newURL, thumbPic_id){
		scroll(0,0);
		if(this.thumb_indicator_loaded){if(this.thumbPic){this.thumbPic.src = this.thumbPicDiv_src_save;}}
		this.thumbPic = false;
		if(thumbPic_id){
			this.thumbPic = document.getElementById(thumbPic_id);
			this.thumbPicDiv_src_save = this.thumbPic.src;
			this.commentID = thumbPic_id.replace("thumb_div_id", "");}
		var bookmarkDiv = document.getElementById("bookmark_thispage");
		if(bookmarkDiv){bookmarkDiv.title = this.currentTitle;bookmarkDiv.setAttribute("path", newURL);}
		this.set_permalinks(newURL);
		var myDate=new Date();
		var key = parseInt(myDate.getDOY()) - 1;
		this.newURL = newURL;
		newURL +="?template=small&key="+key;
		var title = this.currentTitle;
		if(document.getElementById('main-body_frontPage')){this.addWaitDiv(true);}
		_MonyMenu_Controller.tabInterval = setInterval('_MonyMenu_Controller.clock()', 200);
		this.tabLoader.updateValue(this.changeTabContent, newURL);},
	clock: function(){
	    if(_failed || _MonyMenu_Controller.timeOut>=30){
		    if(_ajax_timout<=30){
			    _failed = false;
			    _MonyMenu_Controller.timeOut=0;
			    clearTimeout(_MonyMenu_Controller.tabInterval);
		    }else{
			    _failed = false;
			    _ajax_timout = 0;
			    _MonyMenu_Controller.timeOut=0;
			    clearTimeout(_MonyMenu_Controller.tabInterval);
			    var content_container = _MonyMenu_Controller.get_content_div();
			    if(content_container){
				    content_container.style.display = "inline-block";
				    content_container.innerHTML = "<BR><BR><BR><BR><BR><BR><BR><BR>&nbsp;AJAX TIMEOUT.  Click again.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";}}
            }else{var time=new Date();_MonyMenu_Controller.timeOut++;}},
	get_content_div: function(){
		var close_button_div = document.createElement("div");
		content_container = document.getElementById('main-body_frontPage');
		content_container.style.display = "inline-block";
		close_button_div.className = "close_content_window_X";
		close_button_div.innerHTML = "X";
		content_container.appendChild(close_button_div);
		return content_container;},
	load_pageination_button: function(newUrl){
		scroll(0,0);
		if(newUrl && newUrl!=""){this.set_permalinks(newUrl);}
		this.addWaitDiv();
		_tab_container.timeOut=0;
		clearTimeout(_tab_container.tabInterval);
		_tab_container.tabInterval = setInterval('_tab_container.clock()', 400);
		var myDate=new Date();
		var key = parseInt(myDate.getDOY());
		if(document.getElementById('main-body_frontPage')){this.addWaitDiv(true);}
		var chrome_string = "";
		if(this.is_chrome){chrome_string ="&chrome=yes";}
		var template_string = "";
		var is_search = false;
		/* SOMETHING WENT WRONG HERE!!!
		if(newUrl && (newUrl.search("search-")>=0 || newUrl.search("com_search")>=0)){
			if(newUrl.search("searchword")>=0){
				template_string = "&template=small";
				newUrl = unescape(newUrl);
				is_search=true;
			}else{
				var search_keywords = document.getElementById("mod_search_searchword");
				if(search_keywords){
					if(search_keywords.value && search_keywords.value!=""){
						template_string = "&searchword=" + search_keywords.value + "&template=small";
						is_search=true;}}}
		}*/
		if(!is_search){template_string = "?template=small";}this.tabLoader.updateValue(this.changeTabContent, newUrl + template_string + "&key="+key+chrome_string);},
	reset_google_comments: function(comment_ident){google.friendconnect.container.renderWallGadget({id: 'div-790456658035632216',site:'05821449745676547662','view-params':{"disableMinMax":"true","allowAnonymousPost":"true", "scope":"ID","features":"video,comment","docId":comment_ident,"startMaximized":"true"}}, skin);},
	resetWidgets: function(){
//		
//		if(!this.commentID)
//		{var current_commentDiv = document.getElementById("div-790456658035632216");
//		
//		if(current_commentDiv){this.commentID = current_commentDiv.getAttribute("commentID");}}
//		if(this.commentID && document.location.href.search("trickfist.com")>=0){this.reset_google_comments(this.commentID);}
//		else if(this.newURL && this.newURL.search("trickfist.com")>=0){this.reset_google_comments(this.newURL);}
//		else if(this.newURL){
//			var commentDiv = document.getElementById("div-790456658035632216");
//			if(commentDiv){
//				var arguments = "";
//				arguments_array = this.urlArgs.split("\/");
//				var this_domain = "";
//				for(var t=0; t<=arguments_array.length-1; t++){
//					if(t==2){this_domain = arguments_array[t];}
//					else if(t>=3 && arguments_array[t].search("template=small")<0){arguments += "/" + arguments_array[t];}
//					else if(arguments_array[t].search("html")>=0){arguments  += "/" + arguments_array[t].split("html")[0] + "html";}}
//				var new_url = "http://trickfist.com" + arguments;
//				var makeCommentDiv = document.createElement("div");
//				makeCommentDiv.className = "makeCommentDiv";
//				makeCommentDiv.innerHTML = "<a href='"+ new_url +"'>Comment on this Item?  Click Here.</a>";
//				commentDiv.appendChild(makeCommentDiv);}}
//				/*if(LW){window.onload();}*/
				if(FB){
					FB.init({appId: 'deb4e6c5d6cd072f3e08efd78a74afc6', status: true, cookie: true,
			             xfbml: true});
//					FB.init("deb4e6c5d6cd072f3e08efd78a74afc6", "");
				}
				/*this.init_share_button();*/
	},
	init_share_button: function(){
		/*var addthis_config = {username: "schlank"};
		$('.sharelink').click(function(){$('.lightbox').fadeIn('fast');return false;});$('.lightbox_close').click(function(){$('.lightbox').fadeOut('fast');return false;});*//*
		function entsub_ie(ourform){if (window.event && window.event.keyCode == 13){if(ourform && ourform.trickfist_search_button){ourform.trickfist_search_button.onclick();}return false;}else{return true;}}
		function entsub(event,ourform){if (event && event.which == 13){if(ourform && ourform.trickfist_search_button){ourform.trickfist_search_button.onclick();}return false;}else{return true;}}*/
	},
	changeTabContent: function(thisURL){
		if (_xmlhttp && _xmlhttp.readyState == 4) {
			 if (_xmlhttp.status == 200){
				_MonyMenu_Controller.timeOut=0;
				clearTimeout(_MonyMenu_Controller.tabInterval);
				var results = _xmlhttp.responseText;
				if(_MonyMenu_Controller){_MonyMenu_Controller.urlArgs = thisURL;}
				var content_container = _MonyMenu_Controller.get_content_div();
				if(content_container){
					content_container.innerHTML = results;
					if(_MonyMenu_Controller){_MonyMenu_Controller.resetWidgets();}}
				_failed = false;
			 }else if(_xmlhttp.status == 404){_failed = false;clearTimeout(_MonyMenu_Controller.tabInterval);document.getElementById('main-body_frontPage').innerHTML = "<BR><BR><BR><BR><BR><BR><BR><BR>404 Not Found";}
			 else{_failed = false;clearTimeout(_MonyMenu_Controller.tabInterval);document.getElementById('main-body_frontPage').innerHTML = "<BR><BR><BR><BR><BR><BR><BR><BR>Could not Load.  Give it few seconds, it will try again automatically.<BR><BR><IMG src='http://images.trickfist.com/images/technical-difficulties_medium.jpg'\/>";}
			 if(_MonyMenu_Controller != "undefined"){_MonyMenu_Controller.addWaitDiv(false);}
			 _ajax_timout++;}}
};if(MonyMenu == undefined){ var MonyMenu = {};};MonyMenu.loader = function(){this.init();};var _xmlhttp;MonyMenu.loader.prototype = {curContext: "", pairsGlob: 0, init:function(){var newHTTPRequest; if(window.XMLHttpRequest) { /* Mozilla, Safari */newHTTPRequest = new XMLHttpRequest();} else if (window.ActiveXObject) { /*IE*/var msXMLHTTPs = new Array ("Msxml2.XMLHTTP.5.0","Msxml2.XMLHTTP.4.0","Msxml2.XMLHTTP.3.0","Msxml2.XMLHTTP","Microsoft.XMLHTTP");for(var i = 0; i < msXMLHTTPs.length; i++){try {newHTTPRequest = new ActiveXObject(msXMLHTTPs[i]);break;} catch (e) { newHTTPRequest = false;}}}if (typeof(newHTTPRequest) == 'undefined') {alert("Unable to create HTTP Request Object...");}_xmlhttp = newHTTPRequest;},loadContent: function(searchNumber, structure){var Tabber_Pane_searchNumber = searchNumber;this.curContext = structure;this.updateValue();return oidFoundBool;},getContentArray: function(){return contentArray;},updateValue: function(callbackFunction, thisURL){_xmlhttp.onreadystatechange=function(){callbackFunction(thisURL);};_xmlhttp.open('GET',thisURL,true);_xmlhttp.onreadystatechange = function() { callbackFunction(thisURL); };_xmlhttp.send(null);},parsequery: function(){var arg_pairs = new Object();arg_pairs.names = new Array();arg_pairs.values = new Array();var query = location.search.substring();if(query == "") { return null; }var pairs = query.split("\&");this.pairsGlob = pairs.length;for(var i = 0; i < pairs.length; i++){var pos = pairs[i].indexOf('=');if(pos == -1){ continue; }var arg_name = pairs[i].substring(0,pos);var arg_value = pairs[i].substring(pos+1);arg_pairs.names[i] = arg_name;arg_pairs.values[i] = arg_value;} return arg_pairs;}}; String.prototype.strip = function( exp ){return this.replace(exp?exp:/\s/g,"");}; String.prototype.ltrim = function(){return this.replace(/^\s+/,"");};String.prototype.rtrim = function(){return this.replace(/\s+$/,"");}; Date.prototype.getDOY = function(){var onejan = new Date(this.getFullYear(),0,1); return Math.ceil((this - onejan) / 86400000);};var browser='ie';var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;if(window.ActiveXObject){browser='ie';}else if(is_chrome){browser='chrome';}else{browser='mos';}function retF(){var thisF = this.windowvar; allF = parent.top.frames;for(var i=0;i<allF.length;i++){if(allF[i]==thisF){var frameName=allF[i].name;}}}function SelectAll(id){document.getElementById(id).focus();document.getElementById(id).select();}function get_cookie(cookie_name){var results = document.cookie.match('(^|;) ?' + cookie_name + '=([^;]*)(;|$)');if(results){return(unescape(results[2]));}else{return null;}}function set_cookie( name, value, exp_y, exp_m, exp_d, path, domain, secure){var cookie_string = name + "=" + escape ( value );if(exp_y){var expires = new Date ( exp_y, exp_m, exp_d );cookie_string += "; expires=" + expires.toGMTString();}if(path){cookie_string += "; path=" + escape ( path );}if ( domain ){cookie_string += "; domain=" + escape ( domain );}if ( secure ){cookie_string += "; secure";}document.cookie = cookie_string;}/*PROJECT:mygosuMenu*/eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[(function(e){return d[e]})];e=(function(){return'\\w+'});c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('f 1H(4){3.Z="1L";3.18={"1u":0,"1w":2O};3.H={"X":{"J":0,"t":0},"1r":{"J":0,"t":0}};3.1S=0;3.1x=17;3.15={"h":2J,"1s":-1};3.v={"1l":21(l.2B.G),"13":(1A.1D.1I("1C 5.5")!=-1||1A.1D.1I("1C 5.0")!=-1),"1b":(1A.1D.1I("1C 6.0")!=-1)};9(!3.v.1l){3.v.13=17;3.v.1b=17}3.1E=f(){9(!l.n(3.4)){k 25("1H.1E() 26. I \'"+3.4+"\' 2D 2E 2F.")}9(3.Z!="1L"&&3.Z!="2k"){k 25("1H.1E() 26. 2G Q Z: \'"+3.Z+"\'")}9(3.v.1l&&3.v.13){28()}2a();1g(l.n(3.4).10,3.w,3.4)};f 2a(){8 1m=l.n(7.4).2c("p");8 j=x 1o();8 1n=x 1o();q(8 i=0;i<1m.e;i++){9(1m[i].m=="K"){j.u(1m[i])}}q(8 i=0;i<j.e;i++){1n.u(29(j[i].10))}q(8 i=0;i<j.e;i++){j[i].g.1k=(1n[i])+"F"}9(7.v.1l){q(8 i=0;i<j.e;i++){2f(j[i].10,1n[i])}}}f 28(){8 1c=l.n(7.4).2c("a");q(8 i=0;i<1c.e;i++){9(/2g/.C(1c[i].m)){1c[i].1e=\'<p 2e="2e">\'+1c[i].1e+\'</p>\'}}}f 29(c){8 W=0;q(8 i=0;i<c.e;i++){9(c[i].1G!=1||/K/.C(c[i].m)){2i}9(c[i].11>W){W=c[i].11}}k W}f 2f(c,W){q(8 i=0;i<c.e;i++){9(c[i].1G==1&&/2g/.C(c[i].m)&&c[i].G){9(7.v.13||7.v.1b){c[i].g.1k=(W)+"F"}B{c[i].g.1k=(W-N(c[i].G.2H)-N(c[i].G.2I))+"F"}}}}f 1g(c,w,4){q(8 i=0;i<c.e;i++){9(1!=c[i].1G){2i}2K(1Z){1y/\\2L\\b/.C(c[i].m):c[i].4=4+"-"+w.e;w.u(x 1o());c[i].1J=1t;c[i].1K=1v;19;1y/\\2M\\b/.C(c[i].m):c[i].4=4+"-"+w.e;w.u(x 1o());c[i].1J=1t;c[i].1K=1v;19;1y/\\1W\\b/.C(c[i].m):c[i].4=4+"-"+(w.e-1)+"-K";c[i].1J=1X;c[i].1K=1Y;8 z=l.n(4+"-"+(w.e-1));8 L=l.n(c[i].4);8 o=x I(z.4);9(1==o.2h){9("1L"==7.Z){L.g.J=z.1O+z.23+7.H.X.J+"F";9(7.v.13){L.g.t=7.H.X.t+"F"}B{L.g.t=z.1P+7.H.X.t+"F"}}B 9("2k"==7.Z){L.g.J=z.1O+7.H.X.J+"F";9(7.v.13){L.g.t=z.11+7.H.X.t+"F"}B{L.g.t=z.1P+z.11+7.H.X.t+"F"}}}B{L.g.J=z.1O+7.H.1r.J+"F";L.g.t=z.1P+z.11+7.H.1r.t+"F"}7.j.u(c[i].4);7.U.u(0);7.O.u(0);9(7.1x&&7.v.1b){c[i].1e=c[i].1e+\'<D 4="\'+c[i].4+\'-D" 2n="\'+7.1S+\'2o" 2p="2q:17" 2r="2s" 2t="0" g="H: 2u; J: 1V; t: 1V; 1f: 1U; "></D>\'}19}9(c[i].10){9(/\\1W\\b/.C(c[i].m)){1g(c[i].10,w[w.e-1],4+"-"+(w.e-1))}B{1g(c[i].10,w,4)}}}}f 1t(){7.14++;8 E=3.4+"-K";9(7.h.e){8 o=x I(1d(7.h));o=l.n(o.16().4);9(/S\\d-T/.C(o.m)){o.m=o.m.1p(/(S\\d)-T/,"$1")}}9(Y(7.j,E)){1M();7.O[A(7.j,E)]++;8 r=7.U[A(7.j,E)];8 R=1i(f(a,b){k f(){7.20(a,b)}}(E,r),7.18.1u);7.P.u(R)}B{9(7.h.e){1M();8 R=1i(f(a,b){k f(){7.2d(a,b)}}(3.4,7.14),7.18.1u);7.P.u(R)}}};f 1v(){7.14++;8 E=3.4+"-K";9(Y(7.j,E)){7.U[A(7.j,E)]++;9(Y(7.h,E)){8 r=7.O[A(7.j,E)];8 R=1i(f(a,b){k f(){7.12(a,b)}}(E,r),7.18.1w);7.P.u(R)}}};f 1X(){7.O[A(7.j,3.4)]++;8 o=x I(3.4);8 y=l.n(o.16().4);9(!/S\\d-T/.C(y.m)){y.m=y.m.1p(/(S\\d)/,"$1-T")}};f 1Y(){7.U[A(7.j,3.4)]++;8 r=7.O[A(7.j,3.4)];8 R=1i(f(a,b){k f(){7.12(a,b)}}(3.4,r),7.18.1w);7.P.u(R)};3.20=f(4,r){9(1Q r!="1F"){9(r!=3.U[A(3.j,4)]){k}}3.U[A(3.j,4)]++;9(3.h.e){9(4==1d(3.h)){k}8 o=x I(4);8 V=o.1z();q(8 i=3.h.e-1;i>=0;i--){9(Y(V,3.h[i])){19}B{3.12(3.h[i])}}}8 o=x I(4);8 y=l.n(o.16().4);9(!/S\\d-T/.C(y.m)){y.m=y.m.1p(/(S\\d)/,"$1-T")}9(l.1T){l.n(4).g.1f="2b"}l.n(4).g.1R="h";l.n(4).g.15=3.15.h;9(3.1x&&3.v.1b){8 p=l.n(4);9(p.G.2y==2z){p.g.1N=0;p.g.22=0;p.g.1B=0;p.g.2m=0}8 D=l.n(4+"-D");D.g.1k=p.11+N(p.G.1N)+N(p.G.22);D.g.2A=p.23+N(p.G.1B)+N(p.G.2m);D.g.J=-N(p.G.1B);D.g.t=-N(p.G.1N);D.g.15=-1;D.g.1f="2b"}3.h.u(4)};3.2d=f(4,r){9(1Q r!="1F"){9(r!=3.14){k}}3.14++;9(3.h.e){8 o=x I(4+"-K");8 V=o.1z();q(8 i=3.h.e-1;i>=0;i--){9(Y(V,3.h[i])){19}B{3.12(3.h[i])}}}};3.12=f(4,r){9(1Q r!="1F"){9(r!=3.O[A(3.j,4)]){k}9(4==1d(3.h)){q(8 i=3.h.e-1;i>=0;i--){3.12(3.h[i])}k}}8 o=x I(4);8 y=l.n(o.16().4);9(/S\\d-T/.C(y.m)){y.m=y.m.1p(/(S\\d)-T/,"$1")}l.n(4).g.15=3.15.1s;l.n(4).g.1R="1s";9(l.1T){l.n(4).g.1f="1U"}9(Y(3.h,4)){9(4==1d(3.h)){3.h.1q()}B{}}B{}3.O[A(3.j,4)]++};f I(4){3.Q=7;3.4=4;3.2j=f(){8 s=3.4.1a(3.Q.4.e);k 24(s,"-")};3.16=f(){8 s=3.4.1a(3.Q.4.e);8 a=s.1j("-");a.1q();k x I(3.Q.4+a.2v("-"))};3.2w=f(){8 s=3.4.1a(3.Q.4.e);8 a=s.1j("-");k a.e>2};3.2x=f(){k 21(l.n(3.4+"-K"))};3.1z=f(){8 s=3.4.1a(3.Q.4.e);s=s.1a(0,s.e-"-K".e);8 a=s.1j("-");a.2C();a.1q();8 s=3.Q.4;8 V=[];q(8 i=0;i<a.e;i++){s+=("-"+a[i]);V.u(s+"-K")}k V};3.2h=3.2j()};f 1M(){q(8 i=7.P.e-1;i>=0;i--){2N(7.P[i]);7.P.1q()}};8 7=3;3.4=4;3.w=[];3.j=[];3.U=[];3.O=[];3.14=0;3.P=[];3.h=[]};f A(M,1h){q(8 i=0;i<M.e;i++){9(M[i]===1h){k i}}k-1};f Y(M,1h){q(8 i=0;i<M.e;i++){9(M[i]===1h){k 1Z}}k 17};f 24(27,2l){k 27.1j(2l).e-1};f 1d(M){k M[M.e-1]};',62,175,'|||this|id|||self|var|if|||nodes||length|function|style|visible||sections|return|document|className|getElementById|el|div|for|cnt||left|push|browser|tree|new|parent|box1|itemInArray|else|test|iframe|id_section|px|currentStyle|position|Element|top|section|box2|inArray|parseInt|sectionsHideCnt|timers|menu|timerId|item|active|sectionsShowCnt|parents|maxWidth|level1|stringInArray|type|childNodes|offsetWidth|hideSection|ie5|itemShowCnt|zIndex|getParent|false|delay|break|substr|ie6|elements|lastItemOfArray|innerHTML|display|parse|srchItem|setTimeout|split|width|ie|arr|widths|Array|replace|pop|levelX|hidden|itemOver|show|itemOut|hide|fixIeSelectBoxBug|case|getParentSections|navigator|borderTopWidth|MSIE|appVersion|init|undefined|nodeType|DropDownMenuX|indexOf|onmouseover|onmouseout|horizontal|clearTimers|borderLeftWidth|offsetTop|offsetLeft|typeof|visibility|iframename|all|none|0px|bsection|sectionOver|sectionOut|true|showSection|Boolean|borderRightWidth|offsetHeight|countSubStr|alert|failed|srcStr|fixWrap|getMaxWidth|fixSections|block|getElementsByTagName|showItem|nowrap|setMaxWidth|item2|level|continue|getLevel|vertical|subStr|borderBottomWidth|class|frame|src|javascript|scrolling|no|frameborder|absolute|join|hasParent|hasChilds|border|null|height|body|shift|does|not|exist|Unknown|paddingLeft|paddingRight|500|switch|bitem1|bitem2|clearTimeout|400'.split('|'),0,{}));/* "AJAX Vote" Plugin for Joomla! 1.0.x - Version 1.1 */function jwAjaxVote(id,i,total,total_count){var lsXmlHttp;var div = document.getElementById('jwajaxvote'+id);div.innerHTML='<img src="'+live_site+'/mambots/content/plugin_jw_ajaxvote/images/loading.gif" border="0" align="absmiddle" /> ' + jwajaxvote_lang['UPDATING']; try{lsXmlHttp=new XMLHttpRequest();}catch(e){ try{lsXmlHttp = new ActiveXObject("Msxml2.XMLHTTP");} catch (e){try{lsXmlHttp=new ActiveXObject("Microsoft.XMLHTTP");} catch (e) {alert("Your browser does not support AJAX!");return false;}}}lsXmlHttp.onreadystatechange=function(){var response;if(lsXmlHttp.readyState==4){setTimeout(function(){ response = lsXmlHttp.responseText; if(response=='1') {div.innerHTML=jwajaxvote_lang['THANKS'];}else {div.innerHTML=jwajaxvote_lang['ALREADY_VOTE'];}},500);setTimeout(function(){if(response=='1'){var newtotal = total_count+1;if(newtotal!=1){div.innerHTML='('+(newtotal)+' '+jwajaxvote_lang['VOTES']+')';}else{div.innerHTML='('+(newtotal)+' '+jwajaxvote_lang['VOTE']+')';}var percentage = ((total + i)/(newtotal))*20;document.getElementById('rating'+id).style.width=percentage+'%';}else{if(total_count!=1){div.innerHTML='('+(total_count)+' '+jwajaxvote_lang['VOTES']+')';}else{div.innerHTML='('+(total_count)+' '+jwajaxvote_lang['VOTE']+')';}}},2000);}};lsXmlHttp.open("GET",live_site+"/mambots/content/plugin_jw_ajaxvote/ajax.php?task=vote&user_rating="+i+"&cid="+id, true); lsXmlHttp.send(null);} var jwajaxvote_lang = new Array(); jwajaxvote_lang["UPDATING"] = "Updating."; jwajaxvote_lang["THANKS"] = "Thanks for the vote."; jwajaxvote_lang["ALREADY_VOTE"] = "You already voted on this one."; jwajaxvote_lang["VOTES"] = "Votes"; jwajaxvote_lang["VOTE"] = "Vote";
function entsub_ie(ourform){if (window.event && window.event.keyCode == 13){if(ourform && ourform.trickfist_search_button){ourform.trickfist_search_button.onclick();}return false;}else{return true;}};
function entsub(event,ourform){if (event && event.which == 13){if(ourform && ourform.trickfist_search_button){ourform.trickfist_search_button.onclick();}return false;}else{return true;}};
function init_share_button(){/*Does nothing.  Used for Addthis widget earlier.*/};