

<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

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_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;
}

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_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_openBrWindow(theURL,Arg,features)
      { //v2.0
		features+=";center:yes; help:no;resizable:no; scrollbars:no; menubar:false; location:no; status:off;unadorned:yes";
		window.showModalDialog(theURL,Arg,features);
		
		
		}
		
function OpenWindowAVI(theURL)
      { 
		
		var Arg;
		Arg="";
		var features;
		features="dialogHeight=400px; dialogWidth=400px;center:yes; help:no;resizable:no; scrollbars:no; menubar:false; location:no; status:off;unadorned:yes";
		
		window.showModalDialog(theURL,'',features);
		}	
		
		function OpenAcordWin(theURL)
      { 
		var Arg;
		Arg="";
		var features;
		features="dialogHeight=300px; dialogWidth=500px;center:yes; help:no;resizable:no; scrollbars:no; menubar:false; location:no; status:off;unadorned:yes";
		//window.open(theURL,'NewsFlash','menubar=no,resizable=yes,center=yes,scrollbars=yes,width=400,height=400'); 
		
		window.showModelessDialog(theURL,'',features);
		
		
		}			

function MM_openBrWindowPersonalAlbum(theURL,Arg,features)
      { //v2.0
		features+=";center:yes; help:no;resizable:no; scrollbars:no; menubar:false; location:no; status:off;unadorned:yes";
		window.showModalDialog(theURL,Arg,features);
		}
		
function MM_openWindow(theURL)
      { //v2.0
		//alert(theURL);
		var Arg;
		Arg="";
		var features;
		features="dialogHeight=600px; dialogWidth=600px;center:yes; help:no;resizable:no; scrollbars:no; menubar:false; location:no; status:off;unadorned:yes";
		//window.showModalDialog(theURL,Arg,features);
		
		//window.open(theURL,Arg,"width=600,height=600,top=100,left=100,status=no,scrollbars=no");
		
		//window.showModelessDialog(theURL,Arg,features);
		window.open(theURL,'NewsFlash','menubar=no,resizable=yes,scrollbars=yes,width=600,height=500'); 
		
		}		
		

function MM_openBrWindowNotePed(theURL,Arg,features)
      { //v2.0
		features+=";center:yes; help:no;resizable:no; scrollbars:no; menubar:false; location:no; status:off;unadorned:yes";
		window.showModalDialog(theURL,Arg,features);
		window.location.href= "notePad.aspx";
		window.location.reload();
		
		}
		
function MM_openBrWindowForum(theURL,Arg,features,TopicID)
      { //v2.0
		features+=";center:yes; help:no;resizable:no; scrollbars:no; menubar:false; location:no; status:off;unadorned:yes";
		window.showModalDialog(theURL,Arg,features);
		
		window.location.href= "Forum.aspx?ForumTopicID=" + TopicID;// + window.Form1.HidParent.value;
		window.location.reload();
		//window.close();
		}
		
		
		function MM_openPrintWindow(theURL)
      { //v2.0
		
		var features;
		features=";center:yes; help:no;resizable:no; scrollbars:no; menubar:false; location:no; status:off;unadorned:yes;dialogHeight:498px;dialogWidth:730px;";
		window.showModalDialog(theURL,'',features);
		
		
		//window.location.href= theURL;
		//window.location.reload();
		//window.close();
		}

function ShowUserResponse(messTitleID) 
		{
		 
		   TableID = messTitleID + 5000;
		   
		   
		  // alert(document.getElementById(TableID).style.display);
		  
		  
		  if(document.getElementById(messTitleID).style.display == 'inline')
		  {
		     document.getElementById(messTitleID).style.display = 'none';

		     document.getElementById(TableID).style.backgroundColor = '#ffffff';
		  }
         else
         {
             document.getElementById(messTitleID).style.display = 'inline';
            
             
             document.getElementById(TableID).style.backgroundColor = '#cccccc';
         }
       }
		
		

function MSIE_VER() {agt=navigator.userAgent.toLowerCase();pos=agt.indexOf('msie')+1;if(pos)return agt.charAt(pos+4);return 0}


function PrintBunners()
{
		
		
		
		if(document.getElementById('LeftBunner1')!=null  )
		{
			if(document.getElementById('LeftBunner1').getAttribute('innerHTML')=="" || document.getElementById('LeftBunner1').getAttribute('innerHTML')==null)
			{
				PrintLeftBunner1();
			}
		}
		
		if(document.getElementById('LeftBunner2')!=null)
		{
			if(document.getElementById('LeftBunner2').getAttribute('innerHTML')=="" || document.getElementById('LeftBunner2').getAttribute('innerHTML')==null)
			{
				PrintLeftBunner2();
			}
		}
		
		if(document.getElementById('LeftBunner3')!=null)
		{
			if(document.getElementById('LeftBunner3').getAttribute('innerHTML')=="" || document.getElementById('LeftBunner3').getAttribute('innerHTML')==null)
			{
				PrintLeftBunner3();
			}
		}
		
		
	
		
		
		
		
		
		if(document.getElementById('TopBunner1')!=null)
		{
			
	
			
			if(document.getElementById('TopBunner1').getAttribute('innerHTML')=="" || document.getElementById('TopBunner1').getAttribute('innerHTML')==null)
			{
				
				PrintBunnerTop1();
			}
		}
		
		if(document.getElementById('AdBunner1')!=null)
		{
			if(document.getElementById('AdBunner1').getAttribute('innerHTML')=="" || document.getElementById('AdBunner1').getAttribute('innerHTML')==null)
			{
				PrintBunner1();
			}
		}
		if(document.getElementById('AdBunner2')!=null)
		{
			if(document.getElementById('AdBunner2').getAttribute('innerHTML')=="" || document.getElementById('AdBunner2').getAttribute('innerHTML')==null)
			{
				PrintBunner2();
			}
			
		}
		
		if(document.getElementById('AdBunner3')!=null)
		{
			if(document.getElementById('AdBunner3').getAttribute('innerHTML')=="" || document.getElementById('AdBunner3').getAttribute('innerHTML')==null)
			{
				PrintBunner3();
			}
		}
		if(document.getElementById('AdBunner4')!=null)
		{
			if(document.getElementById('AdBunner4').getAttribute('innerHTML')=="" || document.getElementById('AdBunner4').getAttribute('innerHTML')==null)
			{
				PrintBunner4();
			}
		}
		if(document.getElementById('AdBunner5')!=null)
		{
			if(document.getElementById('AdBunner5').getAttribute('innerHTML')=="" || document.getElementById('AdBunner5').getAttribute('innerHTML')==null)
			{
				PrintBunner5();
			}
		}
		if(document.getElementById('AdBunner6')!=null)
		{
			if(document.getElementById('AdBunner6').getAttribute('innerHTML')=="" || document.getElementById('AdBunner6').getAttribute('innerHTML')==null)
			{
				PrintBunner6();
			}
		}
		if(document.getElementById('AdBunner7')!=null)
		{
			if(document.getElementById('AdBunner7').getAttribute('innerHTML')=="" || document.getElementById('AdBunner7').getAttribute('innerHTML')==null)
			{
				PrintBunner7();
			}
		}
		if(document.getElementById('AdBunner8')!=null)
		{
			if(document.getElementById('AdBunner8').getAttribute('innerHTML')=="" || document.getElementById('AdBunner8').getAttribute('innerHTML')==null)
			{
				PrintBunner8();
			}
		}
		if(document.getElementById('AdBunner9')!=null)
		{
			if(document.getElementById('AdBunner9').getAttribute('innerHTML')=="" || document.getElementById('AdBunner9').getAttribute('innerHTML')==null)
			{
				PrintBunner9();
			}
		}
		if(document.getElementById('AdBunner10')!=null)
		{
			if(document.getElementById('AdBunner10').getAttribute('innerHTML')=="" || document.getElementById('AdBunner10').getAttribute('innerHTML')==null)
			{
				PrintBunner10();
			}
		}
	}
	
	
	
//-->




