var myfont_face="Tahoma";var myfont_size="12";var myfont_color="#EC008C";var myback_color="#fff";var mywidth=80;var my12_hour=0;var dn="";var old="";if(document.all||document.getElementById){document.write('<span id="LiveClockIE" style="width:'+mywidth+'px;"></span>');}
else if(document.layers){document.write('<ilayer id="ClockPosNS"><layer width="'+mywidth+'" id="LiveClockNS"></layer></ilayer>');}
else{old="true";show_clock();}
function show_clock(){if(document.layers)
document.ClockPosNS.visibility="show"
if(old=="die"){return;}
var Digital=new Date();var hours=Digital.getHours();var minutes=Digital.getMinutes();var seconds=Digital.getSeconds();if(my12_hour){dn="AM";if(hours>12){dn="PM";hours=hours-12;}
if(hours==0){hours=12;}}else{dn="";}
if(minutes<=9){minutes="0"+minutes;}
if(seconds<=9){seconds="0"+seconds;}
myclock='';myclock+='<font style="color:'+myfont_color+'; font-family:'+myfont_face+'; font-size:'+myfont_size+'px;">';myclock+=hours+':'+minutes+':'+seconds+' '+dn;myclock+='</font>';if(old=="true"){document.write(myclock);old="die";return;}
if(document.layers){clockpos=document.ClockPosNS;liveclock=clockpos.document.LiveClockNS;liveclock.document.write(myclock);liveclock.document.close();}else if(document.all){LiveClockIE.innerHTML=myclock;}else if(document.getElementById){document.getElementById("LiveClockIE").innerHTML=myclock;}
setTimeout("show_clock()",1000);}

function disableSelection(target){if(typeof target.onselectstart!="undefined")
target.onselectstart=function(){return false}
else if(typeof target.style.MozUserSelect!="undefined")
target.style.MozUserSelect="none"
else
target.onmousedown=function(){return false}
target.style.cursor="default"}

(function($){var template;var counter=0;$.notifications=function(msg,options){counter++;var settings=$.extend({},$.notifications.defaults,options);if(!template){template=$('<div id="jquery-notifications"></div>').appendTo(document.body);}
var n=$('<div class="'+settings.type+'" id="jquery-notifications-'+counter+'">'+msg+'</div>').hide().appendTo("#jquery-notifications");if(settings.effect=="fade"){n.fadeIn(settings.fadeSpeed);}else{n.slideDown(settings.fadeSpeed);}
if(settings.stick){var close=$('<a href="javascript:void(0);">'+settings.close+'</a>').click(function(){if(settings.effect=="fade"){$(this.parentNode).fadeOut(settings.fadeSpeed,function(){$(this).remove();});}
else{$(this.parentNode).slideUp(settings.fadeSpeed,function(){$(this).remove();});}});close.appendTo(n);}
if(!settings.stick){var notificationsDelayer=delayTimer(settings.timeout);notificationsDelayer(update,{counter:counter,effect:settings.effect,fadeSpeed:settings.fadeSpeed});}};$.notifications.success=function(msg,options){return $.notifications(msg,$.extend({},options,{type:"success"}));};$.notifications.error=function(msg,options){return $.notifications(msg,$.extend({stick:true},options,{type:"error"}));};$.notifications.warning=function(msg,options){return $.notifications(msg,$.extend({},options,{type:"warning"}));};function update(params){if(params.effect=="fade"){$("#jquery-notifications-"+params.counter).fadeOut(params.fadeSpeed,function(){$(this).remove();});}else{$("#jquery-notifications-"+params.counter).slideUp(params.fadeSpeed,function(){$(this).remove();});}}
function delayTimer(delay){var timer;return function(fn,params){timer=clearTimeout(timer);if(fn)
timer=setTimeout(function(){fn(params);},delay);return timer;};}
$.notifications.defaults={type:"notice",timeout:5000,stick:false,fadeSpeed:700,close:"x",effect:"fade"};$.n=$.notifications;})(jQuery);

(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]").each(function(){jQuery(this).attr('width',jQuery(this).width());jQuery(this).attr('height',jQuery(this).height());var prevStyle='';var strNewHTML='';var imgId=(jQuery(this).attr('id'))?'id="'+jQuery(this).attr('id')+'" ':'';var imgClass=(jQuery(this).attr('class'))?'class="'+jQuery(this).attr('class')+'" ':'';var imgTitle=(jQuery(this).attr('title'))?'title="'+jQuery(this).attr('title')+'" ':'';var imgAlt=(jQuery(this).attr('alt'))?'alt="'+jQuery(this).attr('alt')+'" ':'';var imgAlign=(jQuery(this).attr('align'))?'float:'+jQuery(this).attr('align')+';':'';var imgHand=(jQuery(this).parent().attr('href'))?'cursor:hand;':'';if(this.style.border){prevStyle+='border:'+this.style.border+';';this.style.border='';}
if(this.style.padding){prevStyle+='padding:'+this.style.padding+';';this.style.padding='';}
if(this.style.margin){prevStyle+='margin:'+this.style.margin+';';this.style.margin='';}
var imgStyle=(this.style.cssText);strNewHTML+='<span '+imgId+imgClass+imgTitle+imgAlt;strNewHTML+='style="position:relative;white-space:pre-line;display:inline-block;background:transparent;'+imgAlign+imgHand;strNewHTML+='width:'+jQuery(this).width()+'px;'+'height:'+jQuery(this).height()+'px;';strNewHTML+='filter:progid:DXImageTransform.Microsoft.AlphaImageLoader'+'(src=\''+jQuery(this).attr('src')+'\', sizingMethod=\'scale\');';strNewHTML+=imgStyle+'"></span>';if(prevStyle!=''){strNewHTML='<span style="position:relative;display:inline-block;'+prevStyle+imgHand+'width:'+jQuery(this).width()+'px;'+'height:'+jQuery(this).height()+'px;'+'">'+strNewHTML+'</span>';}
jQuery(this).hide();jQuery(this).after(strNewHTML);});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');jQuery(this).get(0).runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+iebg+"',sizingMethod='scale')";}});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);