function externalLinks() {
	if (!document.getElementsByTagName) return;
		var anchors = document.getElementsByTagName("a");
		for (var i=0; i<anchors.length; i++) {
			var anchor = anchors[i];

		if ((anchor.getAttribute("rel")!=null)||(anchor.getAttribute("rel"))){
			if (anchor.getAttribute("href") && anchor.getAttribute("rel").indexOf("external") != -1)
			anchor.target = "_blank";
		}
	}
}

// PNG Fix
(function ($) {
    jQuery.fn.pngFix = function (settings) {
        settings = jQuery.extend({
            blankgif: '/blank.gif'
        },
        settings);
        var ie55 = (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) == 4 && navigator.appVersion.indexOf("MSIE 5.5") != -1);
        var ie6 = (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) == 4 && navigator.appVersion.indexOf("MSIE 6.0") != -1);
        if (jQuery.browser.msie&&(ie55||ie6)) {
            jQuery(this).find("img[src$=.png]").add(jQuery(this).find("img[src$=.PNG]")).each(function () {
     if(jQuery(this).width() == 0) { 
          if(jQuery(this).css('width') == "auto")
            { 
        jQuery(this).css('width', jQuery(this).parent().css('width'));
         }else{
        jQuery(this).css('width', jQuery(this).css('width'));
         }

      }else{
       jQuery(this).css('width', jQuery(this).width());
                                 
          }
               
     if(jQuery(this).height() == 0) { 
               if(jQuery(this).css('height') == "auto")
            { 
        jQuery(this).css('height', jQuery(this).parent().css('width'));
         }else{
        jQuery(this).css('height', jQuery(this).css('width'));
         }
      }else{
       jQuery(this).css('height', jQuery(this).height());
                                   
          }
                var filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"' + jQuery(this).attr('src') + '\",sizingMethod=\"scale\")';
                jQuery(this).attr('src', settings.blankgif);
                jQuery(this).css('position', 'relative');
                jQuery(this).css('filter', filter);
                jQuery(this).css('float', 'left');
   
                var imgHand = (jQuery(this).parent().attr('href')) ? 'hand': '';
                jQuery(this).css('cursor', imgHand);
            });
            jQuery(this).find("*").each(function () {
                var bgIMG = jQuery(this).css('background-image');
                if (bgIMG.indexOf(".png") != -1) {
                    var iebg = bgIMG.split('url("')[1].split('")')[0];
                    jQuery(this).css('background-image', 'none');
                    var sM = 'crop';
                    jQuery(this).get(0).runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + iebg + "',sizingMethod='" + sM + "')";
                }
            });
            jQuery(this).find("input[src$=.png]").each(function () {
                var bgIMG = jQuery(this).attr('src');
                jQuery(this).get(0).runtimeStyle.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader' + '(src=\'' + bgIMG + '\', sizingMethod=\'scale\');';
                jQuery(this).attr('src', settings.blankgif)
            })
        }
        return jQuery
    }
})(jQuery);

jQuery.fn.popupwindow = function(p)
{

	var profiles = p || {};

	return this.each(function(index){
		var settings, parameters, mysettings, b, a;
		
		// for overrideing the default settings
		mysettings = (jQuery(this).attr("rel") || "").split(",");

		
		settings = {
			height:720, // sets the height in pixels of the window.
			width:940, // sets the width in pixels of the window.
			toolbar:0, // determines whether a toolbar (includes the forward and back buttons) is displayed {1 (YES) or 0 (NO)}.
			scrollbars:0, // determines whether scrollbars appear on the window {1 (YES) or 0 (NO)}.
			status:0, // whether a status line appears at the bottom of the window {1 (YES) or 0 (NO)}.
			resizable:1, // whether the window can be resized {1 (YES) or 0 (NO)}. Can also be overloaded using resizable.
			left:0, // left position when the window appears.
			top:0, // top position when the window appears.
			center:1, // should we center the window? {1 (YES) or 0 (NO)}. overrides top and left
			createnew:1, // should we create a new window for each occurance {1 (YES) or 0 (NO)}.
			location:0, // determines whether the address bar is displayed {1 (YES) or 0 (NO)}.
			menubar:0 // determines whether the menu bar is displayed {1 (YES) or 0 (NO)}.
		};

		// if mysettings length is 1 and not a value pair then assume it is a profile declaration
		// and see if the profile settings exists

		if(mysettings.length == 1 && mysettings[0].split(":").length == 1)
		{
			a = mysettings[0];
			// see if a profile has been defined
			if(typeof profiles[a] != "undefined")
			{
				settings = jQuery.extend(settings, profiles[a]);
			}
		}
		else
		{
			// overrides the settings with parameter passed in using the rel tag.
			for(var i=0; i < mysettings.length; i++)
			{
				b = mysettings[i].split(":");
				if(typeof settings[b[0]] != "undefined" && b.length == 2)
				{
					settings[b[0]] = b[1];
				}
			}
		}

		// center the window
		if (settings.center == 1)
		{
			settings.top = (screen.height-(settings.height + 110))/2;
			settings.left = (screen.width-settings.width)/2;
		}
		
		parameters = "location=" + settings.location + ",menubar=" + settings.menubar + ",height=" + settings.height + ",width=" + settings.width + ",toolbar=" + settings.toolbar + ",scrollbars=" + settings.scrollbars  + ",status=" + settings.status + ",resizable=" + settings.resizable + ",left=" + settings.left  + ",screenX=" + settings.left + ",top=" + settings.top  + ",screenY=" + settings.top;
		
		jQuery(this).bind("click", function(){
			var name = settings.createnew ? "PopUpWindow" + index : "PopUpWindow";
			window.open(this.href, name, parameters).focus();
			return false;
		});
	});

};

/**
 * jquery.scrollable 1.0.2. Put your HTML scroll.
 * 
 * Copyright (c) 2009 Tero Piirainen
 * http://flowplayer.org/tools/scrollable.html
 *
 * Dual licensed under MIT and GPL 2+ licenses
 * http://www.opensource.org/licenses
 *
 * Launch  : March 2008
 * Version : 1.0.2 - Tue Feb 24 2009 10:52:06 GMT-0000 (GMT+00:00)
 */
eval(function(p,a,c,k,e,r){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--)r[e(c)]=k[c]||e(c);k=[function(e){return r[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}('(3($){3 1d(a,c,d,e){6 b=a[c];7($.16(b)){1X{4 b.10(d,e)}1G(14){7(a.1e){1e("2c 25 A."+c+": "+14)}L{20 14;}4 Q}}4 B}6 u=C;3 1o(l,r){6 o=8;7(!u){u=o}6 j=!r.1z;6 q=$(r.1a,l);6 s=0;6 h=l.S(r.17).y(0);6 n=l.S(r.R).y(0);6 m=l.S(r.H).y(0);6 t=l.S(r.P).y(0);6 k=l.S(r.O).y(0);$.1r(o,{1P:3(){4[1,0,1]},1L:3(){4 s},1J:3(){4 r},x:3(){4 o.D().9()},1l:3(){4 M.15(8.x()/r.9)},Z:3(){4 M.15(s/r.9)},1C:3(){4 l},1A:3(){4 q},D:3(){4 q.T()},K:3(i,a,f){a=a||r.1c;7($.16(a)){f=a;a=r.1c}7(i<0){i=0}7(i>o.x()-r.9){4 o}6 e=o.D().y(i);7(!e.1b){4 o}7(1d(r,"1w",o,i)===Q){4 o}7(j){6 b=-(e.28(B)*i);q.1x({24:b},a,r.19,f?3(){f.10(o)}:C)}L{6 c=-(e.23(B)*i);q.1x({22:c},a,r.19,f?3(){f.10(o)}:C)}7(h.1b){6 g=r.w;6 d=M.15(i/r.9);d=M.21(d,h.T().1b-1);h.T().G(g).y(d).v(g)}7(i===0){n.X(t).v(r.E)}L{n.X(t).G(r.E)}7(i>=o.x()-r.9){m.X(k).v(r.E)}L{m.X(k).G(r.E)}u=o;s=i;1d(r,"1v",o,i);4 o},F:3(b,c,d){6 a=s+b;7(r.1u&&a>(o.x()-r.9)){a=0}4 8.K(a,c,d)},H:3(a,b){4 8.F(1,a,b)},R:3(a,b){4 8.F(-1,a,b)},1Z:3(a,b,c){4 8.F(r.9*a,b,c)},N:3(b,a,d){6 e=r.9;6 f=e*b;6 c=f+e>=8.x();7(c){f=8.x()-r.9}4 8.K(f,a,d)},P:3(a,b){4 8.N(8.Z()-1,a,b)},O:3(a,b){4 8.N(8.Z()+1,a,b)},1W:3(a,b){4 8.K(0,a,b)},1V:3(a,b){4 8.K(8.x()-r.9,a,b)},1U:3(){4 13()},z:3(f,c,e){6 d=o.D().y(f);6 g=r.w;7(!d.1T(g)&&(f>=0||f<8.x())){o.D().G(g);d.v(g);6 a=M.1S(r.9/2);6 b=f-a;7(b>o.x()-r.9){b--}7(b!==f){4 8.K(b,c,e)}}4 o}});7($.16($.1R.1s)){l.12("1s.A",3(e,a){6 b=$.1Q.1O?1:-1;o.F(a>0?b:-b,1N);4 Q})}n.v(r.E).z(3(){o.R()});m.z(3(){o.H()});k.z(3(){o.O()});t.v(r.E).z(3(){o.P()});7(r.1q){$(1M).1K("1n.A").12("1n.A",3(a){6 b=u;7(!b){4}7(j&&(a.J==1m||a.J==1I)){b.F(a.J==1m?-1:1);4 a.11()}7(!j&&(a.J==1p||a.J==1H)){b.F(a.J==1p?-1:1);4 a.11()}4 B})}3 13(){h.U(3(){6 b=$(8);7(b.1F(":1k")||b.I("1j")==o){b.1k();b.I("1j",o);1E(6 i=0;i<o.1l();i++){6 c=$("<"+r.1i+"/>").W("V",i).z(3(e){6 a=$(8);a.1D().T().G(r.w);a.v(r.w);o.N(a.W("V"));4 e.11()});7(i===0){c.v(r.w)}b.1B(c)}}L{6 d=b.T();d.U(3(i){6 a=$(8);a.W("V",i);7(i===0){a.v(r.w)}a.z(3(){b.1Y("."+r.w).G(r.w);a.v(r.w);o.N(a.W("V"))})})}});7(r.1h){o.D().U(3(a,b){6 c=$(8);7(!c.I("1t")){c.12("z.A",3(){o.z(a)});c.I("1t",B)}})}7(r.Y){o.D().1g(3(){$(8).v(r.Y)},3(){$(8).G(r.Y)})}4 o}13();6 p=C;3 1f(){p=2h(3(){o.H()},r.18)}7(r.18>0){l.1g(3(){2g(p)},3(){1f()});1f()}}1y.2e.A=3(d){6 c=8.y(2d d==\'2b\'?d:0).I("A");7(c){4 c}6 b={9:5,1z:Q,1h:B,1u:Q,18:0,1c:2a,1q:B,w:\'29\',E:\'27\',Y:C,19:\'2f\',1a:\'.1a\',R:\'.R\',H:\'.H\',P:\'.P\',O:\'.O\',17:\'.17\',1i:\'a\',1w:C,1v:C,1e:B};$.1r(b,d);8.U(3(){6 a=26 1o($(8),b);$(8).I("A",a)});4 8}})(1y);',62,142,'|||function|return||var|if|this|size||||||||||||||||||||||addClass|activeClass|getSize|eq|click|scrollable|true|null|getItems|disabledClass|move|removeClass|next|data|keyCode|seekTo|else|Math|setPage|nextPage|prevPage|false|prev|siblings|children|each|href|attr|add|hoverClass|getPageIndex|call|preventDefault|bind|load|error|ceil|isFunction|navi|interval|easing|items|length|speed|fireEvent|alert|setTimer|hover|clickable|naviItem|me|empty|getPageAmount|37|keypress|Scrollable|38|keyboard|extend|mousewheel|set|loop|onSeek|onBeforeSeek|animate|jQuery|vertical|getItemWrap|append|getRoot|parent|for|is|catch|40|39|getConf|unbind|getIndex|window|50|opera|getVersion|browser|fn|floor|hasClass|reload|end|begin|try|find|movePage|throw|min|top|outerHeight|left|calling|new|disabled|outerWidth|active|400|number|Error|typeof|prototype|swing|clearInterval|setInterval'.split('|'),0,{}))



/*
 * Thickbox 3.1 - One Box To Rule Them All.
 * By Cody Lindley (http://www.codylindley.com)
 * Copyright (c) 2007 cody lindley
 * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php
*/
      
eval(function(p,a,c,k,e,r){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--)r[e(c)]=k[c]||e(c);k=[function(e){return r[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}('6 1V="/3q/3d.1u";$(o).3p(9(){1r(\'a.19, 2M.19, 2I.19\');1n=1G 1F();1n.O=1V});9 1r(b){$(b).q(9(){6 t=R.S||R.1w||L;6 a=R.z||R.1P;6 g=R.1M||P;1a(t,a,g);R.3o();H P})}9 1a(d,f,g){3j{3(2n o.u.J.2e==="2b"){$("u","13").s({D:"21%",v:"21%"});$("13").s("1X","2V");3(o.2i("1C")===L){$("u").r("<11 5=\'1C\'></11><4 5=\'C\'></4><4 5=\'8\'></4>");$("#C").q(G)}}n{3(o.2i("C")===L){$("u").r("<4 5=\'C\'></4><4 5=\'8\'></4>");$("#C").q(G)}}3(1L()){$("#C").1K("2C")}n{$("#C").1K("2B")}3(d===L){d=""}$("u").r("<4 5=\'I\'><2A O=\'"+1n.O+"\' /></4>");$(\'#I\').3n();6 h;3(f.N("?")!==-1){h=f.3k(0,f.N("?"))}n{h=f}6 i=/\\.2r$|\\.2p$|\\.2o$|\\.1u$|\\.2m$/;6 j=h.1B().2j(i);3(j==\'.2r\'||j==\'.2p\'||j==\'.2o\'||j==\'.1u\'||j==\'.2m\'){1I="";1z="";14="";1q="";1o="";T="";1x="";1s=P;3(g){F=$("a[@1M="+g+"]").38();23(A=0;((A<F.1b)&&(T===""));A++){6 k=F[A].z.1B().2j(i);3(!(F[A].z==f)){3(1s){1q=F[A].S;1o=F[A].z;T="<1e 5=\'1Y\'>&1h;&1h;<a z=\'#\'>2W &2U;</a></1e>"}n{1I=F[A].S;1z=F[A].z;14="<1e 5=\'22\'>&1h;&1h;<a z=\'#\'>&2R; 2O</a></1e>"}}n{1s=1g;1x="1F "+(A+1)+" 2N "+(F.1b)}}}Y=1G 1F();Y.1d=9(){Y.1d=L;6 a=1Q();6 x=a[0]-1O;6 y=a[1]-1O;6 b=Y.v;6 c=Y.D;3(b>x){c=c*(x/b);b=x;3(c>y){b=b*(y/c);c=y}}n 3(c>y){b=b*(y/c);c=y;3(b>x){c=c*(x/b);b=x}}Q=b+30;12=c+2H;$("#8").r("<a z=\'\' 5=\'1N\' S=\'1p\'><2A 5=\'2G\' O=\'"+f+"\' v=\'"+b+"\' D=\'"+c+"\' 1P=\'"+d+"\'/></a>"+"<4 5=\'2F\'>"+d+"<4 5=\'2E\'>"+1x+14+T+"</4></4><4 5=\'2D\'><a z=\'#\' 5=\'W\' S=\'1p\'>1m</a> 1v 1l 1k</4>");$("#W").q(G);3(!(14==="")){9 15(){3($(o).M("q",15)){$(o).M("q",15)}$("#8").B();$("u").r("<4 5=\'8\'></4>");1a(1I,1z,g);H P}$("#22").q(15)}3(!(T==="")){9 1H(){$("#8").B();$("u").r("<4 5=\'8\'></4>");1a(1q,1o,g);H P}$("#1Y").q(1H)}o.1i=9(e){3(e==L){K=2z.2y}n{K=e.2w}3(K==27){G()}n 3(K==3m){3(!(T=="")){o.1i="";1H()}}n 3(K==3l){3(!(14=="")){o.1i="";15()}}};18();$("#I").B();$("#1N").q(G);$("#8").s({U:"V"})};Y.O=f}n{6 l=f.2u(/^[^\\?]+\\??/,\'\');6 m=2s(l);Q=(m[\'v\']*1)+30||3i;12=(m[\'D\']*1)+2q||3h;3(!g==P){1D=g.1f(\' \');Q=(1D[0]*1)+30;12=(1D[1]*1)+2q}X=Q-30;Z=12-3g;3(f.N(\'2l\')!=-1){1J=f.1f(\'3f\');$("#16").B();3(m[\'1E\']!="1g"){$("#8").r("<4 5=\'2x\'><4 5=\'1A\'>"+d+"</4><4 5=\'2h\'><a z=\'#\' 5=\'W\' S=\'1p\'>1m</a> 1v 1l 1k</4></4><11 2g=\'0\' 2f=\'0\' O=\'"+1J[0]+"\' 5=\'16\' 1w=\'16"+1c.2d(1c.1j()*2c)+"\' 1d=\'1y()\' J=\'v:"+(X+29)+"p;D:"+(Z+17)+"p;\' > </11>")}n{$("#C").M();$("#8").r("<11 2g=\'0\' 2f=\'0\' O=\'"+1J[0]+"\' 5=\'16\' 1w=\'16"+1c.2d(1c.1j()*2c)+"\' 1d=\'1y()\' J=\'v:"+(X+29)+"p;D:"+(Z+17)+"p;\'> </11>")}}n{3($("#8").s("U")!="V"){3(m[\'1E\']!="1g"){$("#8").r("<4 5=\'2x\'><4 5=\'1A\'>"+d+"</4><4 5=\'2h\'><a z=\'#\' 5=\'W\'>1m</a> 1v 1l 1k</4></4><4 5=\'E\' J=\'v:"+X+"p;D:"+Z+"p\'></4>")}n{$("#C").M();$("#8").r("<4 5=\'E\' 3c=\'3b\' J=\'v:"+X+"p;D:"+Z+"p;\'></4>")}}n{$("#E")[0].J.v=X+"p";$("#E")[0].J.D=Z+"p";$("#E")[0].3a=0;$("#1A").13(d)}}$("#W").q(G);3(f.N(\'39\')!=-1){$("#E").r($(\'#\'+m[\'28\']).26());$("#8").25(9(){$(\'#\'+m[\'28\']).r($("#E").26())});18();$("#I").B();$("#8").s({U:"V"})}n 3(f.N(\'2l\')!=-1){18();3($.1t.37){$("#I").B();$("#8").s({U:"V"})}}n{$("#E").36(f+="&1j="+(1G 35().34()),9(){18();$("#I").B();1r("#E a.19");$("#8").s({U:"V"})})}}3(!m[\'1E\']){o.20=9(e){3(e==L){K=2z.2y}n{K=e.2w}3(K==27){G()}}}}33(e){}}9 1y(){$("#I").B();$("#8").s({U:"V"})}9 G(){$("#32").M("q");$("#W").M("q");$("#8").31("2Z",9(){$(\'#8,#C,#1C\').2Y("25").M().B()});$("#I").B();3(2n o.u.J.2e=="2b"){$("u","13").s({D:"1Z",v:"1Z"});$("13").s("1X","")}o.1i="";o.20="";H P}9 18(){$("#8").s({2X:\'-\'+1W((Q/2),10)+\'p\',v:Q+\'p\'});3(!(24.1t.2T&&24.1t.2S<7)){$("#8").s({2Q:\'-\'+1W((12/2),10)+\'p\'})}}9 2s(a){6 b={};3(!a){H b}6 c=a.1f(/[;&]/);23(6 i=0;i<c.1b;i++){6 d=c[i].1f(\'=\');3(!d||d.1b!=2){2P}6 e=2a(d[0]);6 f=2a(d[1]);f=f.2u(/\\+/g,\' \');b[e]=f}H b}9 1Q(){6 a=o.3e;6 w=2t.1U||2k.1U||(a&&a.1T)||o.u.1T;6 h=2t.1S||2k.1S||(a&&a.1R)||o.u.1R;2v=[w,h];H 2v}9 1L(){6 a=2L.2K.1B();3(a.N(\'2J\')!=-1&&a.N(\'3r\')!=-1){H 1g}}',62,214,'|||if|div|id|var||TB_window|function||||||||||||||else|document|px|click|append|css||body|width||||href|TB_Counter|remove|TB_overlay|height|TB_ajaxContent|TB_TempArray|tb_remove|return|TB_load|style|keycode|null|unbind|indexOf|src|false|TB_WIDTH|this|title|TB_NextHTML|display|block|TB_closeWindowButton|ajaxContentW|imgPreloader|ajaxContentH||iframe|TB_HEIGHT|html|TB_PrevHTML|goPrev|TB_iframeContent||tb_position|thickbox|tb_show|length|Math|onload|span|split|true|nbsp|onkeydown|random|Key|Esc|close|imgLoader|TB_NextURL|Close|TB_NextCaption|tb_init|TB_FoundURL|browser|gif|or|name|TB_imageCount|tb_showIframe|TB_PrevURL|TB_ajaxWindowTitle|toLowerCase|TB_HideSelect|intUnits|modal|Image|new|goNext|TB_PrevCaption|urlNoQuery|addClass|tb_detectMacXFF|rel|TB_ImageOff|150|alt|tb_getPageSize|clientHeight|innerHeight|clientWidth|innerWidth|tb_pathToImage|parseInt|overflow|TB_next|auto|onkeyup|100|TB_prev|for|jQuery|unload|children||inlineId||unescape|undefined|1000|round|maxHeight|hspace|frameborder|TB_closeAjaxWindow|getElementById|match|self|TB_iframe|bmp|typeof|png|jpeg|40|jpg|tb_parseQuery|window|replace|arrayPageSize|which|TB_title|keyCode|event|img|TB_overlayBG|TB_overlayMacFFBGHack|TB_closeWindow|TB_secondLine|TB_caption|TB_Image|60|input|mac|userAgent|navigator|area|of|Prev|continue|marginTop|lt|version|msie|gt|hidden|Next|marginLeft|trigger|fast||fadeOut|TB_imageOff|catch|getTime|Date|load|safari|get|TB_inline|scrollTop|TB_modal|class|loadingAnimation|documentElement|TB_|45|440|630|try|substr|188|190|show|blur|ready|images|firefox'.split('|'),0,{}))

jQuery.fn.mailme = function() {
    var at = / at /;
    var dot = / dot /g;
    this.each( function() {
        var addr = jQuery(this).text().replace(at,"@").replace(dot,".");
        var title = jQuery(this).attr('title')
        $(this)
            .after('<a href="mailto:'+addr+'" title="'+title+'">'+ addr +'</a>')
            .remove();
    });
};

function refreshAds() {

    $.ajax({
      url: "/geoip.php",
      cache: false,
      beforeSend: function(html){
        $("#smallads").html("<p style=\"margin:0px; text-align:center; margin-top:20px;\"><img src=\"/images/loadingAnimation.gif\" alt=\"\" /></p>");
      },
      success: function(html){
        $("#smallads").html(html);
      }
    });

}

function nflScores(strDiv, intCurrent) {

    $.ajax({
      url: '/ajax/nfl.php?current=' + intCurrent,
      cache: false,
      beforeSend: function(html){
        $('#' + strDiv + '_loader').html("<img src=\"/images/loadingAnimation.gif\" alt=\"\" />");
      },
      success: function(html){
		$('#' + strDiv + '_loader').html("");
        $('#' + strDiv).html(html);
      }
    });

}


function refreshPage(){
	setTimeout('window.location.href=window.location.href',60000);
}

$(document).ready(function() {		   
	externalLinks();
	$(".popupwindow").popupwindow();
	$('span.mailme').mailme();
	$(document).pngFix(); 
	
	if ( $("#smallads").length > 0 ) {
		refreshAds();
	}	
	
}); 