
function staticPage(){document.getElementById('m41l').style.display='';document.getElementById('m41l').className='trans75';setTimeout("staticPages()",3000);}
function staticPages(){document.getElementById('m41l').style.display='none';document.getElementById('m41l').className='';}
function GeneratePassword(){var length=8;var sPassword="";var noPunction=true;var randomLength=true;if(randomLength){length=Math.random();length=parseInt(length*100);length=(length%7)+6}
for(i=0;i<length;i++){numI=getRandomNum();if(noPunction){while(checkPunc(numI)){numI=getRandomNum();}}
sPassword=sPassword+String.fromCharCode(numI);}
return sPassword;}
function getRandomNum(){var rndNum=Math.random()
rndNum=parseInt(rndNum*1000);rndNum=(rndNum%94)+33;return rndNum;}
function checkPunc(num){if((num>=33)&&(num<=47)){return true;}
if((num>=58)&&(num<=64)){return true;}
if((num>=91)&&(num<=96)){return true;}
if((num>=123)&&(num<=126)){return true;}
return false;}
$(document).ready(function(){defaultsInit();$("#ajaxLoader").jqm({modal:true,overlay:10});});function defaultsInit(){$(".tooltip").tooltip({bodyHandler:function(){return $("#tooltip_"+$(this).attr("id")).html();}});$("#table").tablesorter();$("#table tr td").hover(function(){$(this).parent().addClass("highlight2");},function(){$(this).parent().removeClass("highlight2");})
$("#table tr td").click(function(){if($(this).parent().hasClass("highlight")){$(this).parent().removeClass("highlight");}else{$(this).parent().addClass("highlight");}})}
$(document).ajaxStart(function(){$('#ajaxLoader').jqmShow();}).ajaxStop(function(){$('#ajaxLoader').jqmHide();});
