/*file : js/enter type : js v : 20100527*/
//view source
function ViewSource() {
window.location = "view-source:" + window.location.href }
//Gradual Elements Fader http://www.dynamicdrive.com/dynamicindex11/gradualfader.htm
//Last updated: Nov 8th, 07'
var Fading={}
Fading.baseopacity=0.8
Fading.increment=0.1
document.write('<style type="text/css">\n')
document.write('.fader{filter:progid:DXImageTransform.Microsoft.alpha(opacity='+Fading.baseopacity*100+'); -moz-opacity:'+Fading.baseopacity+'; opacity:'+Fading.baseopacity+';}\n')
document.write('</style>')
Fading.setopacity=function(obj,value){var targetobject=obj
if(targetobject&&targetobject.filters&&targetobject.filters[0]){if(typeof targetobject.filters[0].opacity=="number")
targetobject.filters[0].opacity=value*100
else
targetobject.style.filter="alpha(opacity="+value*100+")"}
else if(targetobject&&typeof targetobject.style.MozOpacity!="undefined")
targetobject.style.MozOpacity=value
else if(targetobject&&typeof targetobject.style.opacity!="undefined")
targetobject.style.opacity=value
targetobject.currentopacity=value}
Fading.fadeupdown=function(obj,direction){var targetobject=obj
var fadeamount=(direction=="fadeup")?this.increment:-this.increment
if(targetobject&&(direction=="fadeup"&&targetobject.currentopacity<1||direction=="fadedown"&&targetobject.currentopacity>this.baseopacity)){this.setopacity(obj,targetobject.currentopacity+fadeamount)
window["opacityfader"+obj._fadeorder]=setTimeout(function(){Fading.fadeupdown(obj,direction)},50)}}
Fading.clearTimer=function(obj){if(typeof window["opacityfader"+obj._fadeorder]!="undefined")
clearTimeout(window["opacityfader"+obj._fadeorder])}
Fading.isContained=function(m,e){var e=window.event||e
var c=e.relatedTarget||((e.type=="mouseover")?e.fromElement:e.toElement)
while(c&&c!=m)try{c=c.parentNode}catch(e){c=m}
if(c==m)
return true
else
return false}
Fading.fadeinterface=function(obj,e,direction){if(!this.isContained(obj,e)){Fading.clearTimer(obj)
Fading.fadeupdown(obj,direction)}}
Fading.collectElementbyClass=function(classname){var classnameRE=new RegExp("(^|\\s+)"+classname+"($|\\s+)","i")
var pieces=[]
var alltags=document.all?document.all:document.getElementsByTagName("*")
for(var i=0;i<alltags.length;i++){if(typeof alltags[i].className=="string"&&alltags[i].className.search(classnameRE)!=-1)
pieces[pieces.length]=alltags[i]}
return pieces}
Fading.init=function(){var targetobjects=this.collectElementbyClass("fader")
for(var i=0;i<targetobjects.length;i++){targetobjects[i]._fadeorder=i
this.setopacity(targetobjects[i],this.baseopacity)
targetobjects[i].onmouseover=function(e){Fading.fadeinterface(this,e,"fadeup")}
targetobjects[i].onmouseout=function(e){Fading.fadeinterface(this,e,"fadedown")}}}
//jumpMenu
function jumpMenu(targ,selObj,restore){eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");if(restore)selObj.selectedIndex=0;}
//determinate browser
var dom=net=iex=false;if(document.getElementById)dom=true;if(document.layers)net=true;if(document.all)iex=true;
