_1d){=
_1d=3D_1f;}}return =
_1d;}};Ajax.Autocompleter=3DClass.create();Object.extend(Object.extend(Aj=
ax.Autocompleter.prototype,Autocompleter.Base.prototype),{initialize:func=
tion(_20,_21,url,_23){this.baseInitialize(_20,_21,_23);this.options.async=
hronous=3Dtrue;this.options.onComplete=3Dthis.onComplete.bind(this);this.=
options.defaultParams=3Dthis.options.parameters||null;this.url=3Durl;},ge=
tUpdatedChoices:function(){this.startIndicator();var =
_24=3DencodeURIComponent(this.options.paramName)+"=3D"+encodeURIComponent=
(this.getToken());this.options.parameters=3Dthis.options.callback?this.op=
tions.callback(this.element,_24):_24;if(this.options.defaultParams){this.=
options.parameters+=3D"&"+this.options.defaultParams;}new =
Ajax.Request(this.url,this.options);},onComplete:function(_25){this.updat=
eChoices(_25.responseText);}});Autocompleter.Local=3DClass.create();Autoc=
ompleter.Local.prototype=3DObject.extend(new =
Autocompleter.Base(),{initialize:function(_26,_27,_28,_29){this.baseIniti=
alize(_26,_27,_29);this.options.array=3D_28;},getUpdatedChoices:function(=
){this.updateChoices(this.options.selector(this));},setOptions:function(_=
2a){this.options=3DObject.extend({choices:10,partialSearch:true,partialCh=
ars:2,ignoreCase:true,fullSearch:false,selector:function(_2b){var =
ret=3D[];var _2d=3D[];var _2e=3D_2b.getToken();var _2f=3D0;for(var =
i=3D0;i<_2b.options.array.length&&ret.length<_2b.options.choices;i++){var=
_31=3D_2b.options.array[i];var =
_32=3D_2b.options.ignoreCase?_31.toLowerCase().indexOf(_2e.toLowerCase())=
:_31.indexOf(_2e);while(_32!=3D-1){if(_32=3D=3D0&&_31.length!=3D_2e.lengt=
h){ret.push(""+_31.substr(0,_2e.length)+" "+_31.subst=
r(_2e.length)+" ");break;}else{if(_2e.length>=3D_2b.options.partialCh=
ars&&_2b.options.partialSearch&&_32!=3D-1){if(_2b.options.fullSearch||/\s=
/.test(_31.substr(_32-1,1))){_2d.push(""+_31.substr(0,_32)+""=
+_31.substr(_32,_2e.length)+" "+_31.substr(_32+_2e.length)+" =
");break;}}}_32=3D_2b.options.ignoreCase?_31.toLowerCase().indexOf(_2e.to=
LowerCase(),_32+1):_31.indexOf(_2e,_32+1);}}if(_2d.length){ret=3Dret.conc=
at(_2d.slice(0,_2b.options.choices-ret.length));}return =
"";}},_2a||{});}});Field.scrollFreeActivate=3Dfu=
nction(_33){setTimeout(function(){Field.activate(_33);},1);};Ajax.InPlace=
Editor=3DClass.create();Ajax.InPlaceEditor.defaultHighlightColor=3D"#FFFF=
99";Ajax.InPlaceEditor.prototype=3D{initialize:function(_34,url,_36){this=
.url=3Durl;this.element=3D$(_34);this.options=3DObject.extend({paramName:=
"value",okButton:true,okLink:false,okText:"ok",cancelButton:false,cancelL=
ink:true,cancelText:"cancel",textBeforeControls:"",textBetweenControls:""=
,textAfterControls:"",savingText:"Saving...",clickToEditText:"Click to =
edit",okText:"ok",rows:1,onComplete:function(_37,_38){new =
Effect.Highlight(_38,{startcolor:this.options.highlightcolor});},onFailur=
e:function(_39){alert("Error communicating with the server: =
"+_39.responseText.stripTags());},callback:function(_3a){return =
Form.serialize(_3a);},handleLineBreaks:true,loadingText:"Loading...",savi=
ngClassName:"inplaceeditor-saving",loadingClassName:"inplaceeditor-loadin=
g",formClassName:"inplaceeditor-form",highlightcolor:Ajax.InPlaceEditor.d=
efaultHighlightColor,highlightendcolor:"#FFFFFF",externalControl:null,sub=
mitOnBlur:false,ajaxOptions:{},evalScripts:false},_36||{});if(!this.optio=
ns.formId&&this.element.id){this.options.formId=3Dthis.element.id+"-inpla=
ceeditor";if($(this.options.formId)){this.options.formId=3Dnull;}}if(this=
.options.externalControl){this.options.externalControl=3D$(this.options.e=
xternalControl);}this.originalBackground=3DElement.getStyle(this.element,=
"background-color");if(!this.originalBackground){this.originalBackground=3D=
"transparent";}this.element.title=3Dthis.options.clickToEditText;this.onc=
lickListener=3Dthis.enterEditMode.bindAsEventListener(this);this.mouseove=
rListener=3Dthis.enterHover.bindAsEventListener(this);this.mouseoutListen=
er=3Dthis.leaveHover.bindAsEventListener(this);Event.observe(this.element=
,"click",this.onclickListener);Event.observe(this.element,"mouseover",thi=
s.mouseoverListener);Event.observe(this.element,"mouseout",this.mouseoutL=
istener);if(this.options.externalControl){Event.observe(this.options.exte=
rnalControl,"click",this.onclickListener);Event.observe(this.options.exte=
rnalControl,"mouseover",this.mouseoverListener);Event.observe(this.option=
s.externalControl,"mouseout",this.mouseoutListener);}},enterEditMode:func=
tion(evt){if(this.saving){return;}if(this.editing){return;}this.editing=3D=
true;this.onEnterEditMode();if(this.options.externalControl){Element.hide=
(this.options.externalControl);}Element.hide(this.element);this.createFor=
m();this.element.parentNode.insertBefore(this.form,this.element);if(!this=
.options.loadTextURL){Field.scrollFreeActivate(this.editField);}if(evt){E=
vent.stop(evt);}return =
false;},createForm:function(){this.form=3Ddocument.createElement("form");=
this.form.id=3Dthis.options.formId;Element.addClassName(this.form,this.op=
tions.formClassName);this.form.onsubmit=3Dthis.onSubmit.bind(this);this.c=
reateEditField();if(this.options.textarea){var =
br=3Ddocument.createElement("br");this.form.appendChild(br);}if(this.opti=
ons.textBeforeControls){this.form.appendChild(document.createTextNode(thi=
s.options.textBeforeControls));}if(this.options.okButton){var =
_3d=3Ddocument.createElement("input");_3d.type=3D"submit";_3d.value=3Dthi=
s.options.okText;_3d.className=3D"editor_ok_button";this.form.appendChild=
(_3d);}if(this.options.okLink){var =
_3e=3Ddocument.createElement("a");_3e.href=3D"#";_3e.appendChild(document=
.createTextNode(this.options.okText));_3e.onclick=3Dthis.onSubmit.bind(th=
is);_3e.className=3D"editor_ok_link";this.form.appendChild(_3e);}if(this.=
options.textBetweenControls&&(this.options.okLink||this.options.okButton)=
&&(this.options.cancelLink||this.options.cancelButton)){this.form.appendC=
hild(document.createTextNode(this.options.textBetweenControls));}if(this.=
options.cancelButton){var =
_3f=3Ddocument.createElement("input");_3f.type=3D"submit";_3f.value=3Dthi=
s.options.cancelText;_3f.onclick=3Dthis.onclickCancel.bind(this);_3f.clas=
sName=3D"editor_cancel_button";this.form.appendChild(_3f);}if(this.option=
s.cancelLink){var =
_40=3Ddocument.createElement("a");_40.href=3D"#";_40.appendChild(document=
.createTextNode(this.options.cancelText));_40.onclick=3Dthis.onclickCance=
l.bind(this);_40.className=3D"editor_cancel =
editor_cancel_link";this.form.appendChild(_40);}if(this.options.textAfter=
Controls){this.form.appendChild(document.createTextNode(this.options.text=
AfterControls));}},hasHTMLLineBreaks:function(_41){if(!this.options.handl=
eLineBreaks){return false;}return =
_41.match(/ /i);},convertHTMLLineBreaks:function(_42=
){return =
_42.replace(/ /gi,"\n").replace(/ /gi,"\n").replace(/<\/p>/gi,"\n=
").replace(//gi,"");},createEditField:function(){var =
_43;if(this.options.loadTextURL){_43=3Dthis.options.loadingText;}else{_43=
=3Dthis.getText();}var =
obj=3Dthis;if(this.options.rows=3D=3D1&&!this.hasHTMLLineBreaks(_43)){thi=
s.options.textarea=3Dfalse;var =
_45=3Ddocument.createElement("input");_45.obj=3Dthis;_45.type=3D"text";_4=
5.name=3Dthis.options.paramName;_45.value=3D_43;_45.style.backgroundColor=
=3Dthis.options.highlightcolor;_45.className=3D"editor_field";var =
_46=3Dthis.options.size||this.options.cols||0;if(_46!=3D0){_45.size=3D_46=
;}if(this.options.submitOnBlur){_45.onblur=3Dthis.onSubmit.bind(this);}th=
is.editField=3D_45;}else{this.options.textarea=3Dtrue;var =
_47=3Ddocument.createElement("textarea");_47.obj=3Dthis;_47.name=3Dthis.o=
ptions.paramName;_47.value=3Dthis.convertHTMLLineBreaks(_43);_47.rows=3Dt=
his.options.rows;_47.cols=3Dthis.options.cols||40;_47.className=3D"editor=
_field";if(this.options.submitOnBlur){_47.onblur=3Dthis.onSubmit.bind(thi=
s);}this.editField=3D_47;}if(this.options.loadTextURL){this.loadExternalT=
ext();}this.form.appendChild(this.editField);},getText:function(){return =
this.element.innerHTML;},loadExternalText:function(){Element.addClassName=
(this.form,this.options.loadingClassName);this.editField.disabled=3Dtrue;=
new =
Ajax.Request(this.options.loadTextURL,Object.extend({asynchronous:true,on=
Complete:this.onLoadedExternalText.bind(this)},this.options.ajaxOptions))=
;},onLoadedExternalText:function(_48){Element.removeClassName(this.form,t=
his.options.loadingClassName);this.editField.disabled=3Dfalse;this.editFi=
eld.value=3D_48.responseText.stripTags();Field.scrollFreeActivate(this.ed=
itField);},onclickCancel:function(){this.onComplete();this.leaveEditMode(=
);return =
false;},onFailure:function(_49){this.options.onFailure(_49);if(this.oldIn=
nerHTML){this.element.innerHTML=3Dthis.oldInnerHTML;this.oldInnerHTML=3Dn=
ull;}return false;},onSubmit:function(){var _4a=3Dthis.form;var =
_4b=3Dthis.editField.value;this.onLoading();if(this.options.evalScripts){=
new =
Ajax.Request(this.url,Object.extend({parameters:this.options.callback(_4a=
,_4b),onComplete:this.onComplete.bind(this),onFailure:this.onFailure.bind=
(this),asynchronous:true,evalScripts:true},this.options.ajaxOptions));}el=
se{new =
Ajax.Updater({success:this.element,failure:null},this.url,Object.extend({=
parameters:this.options.callback(_4a,_4b),onComplete:this.onComplete.bind=
(this),onFailure:this.onFailure.bind(this)},this.options.ajaxOptions));}i=
f(arguments.length>1){Event.stop(arguments[0]);}return =
false;},onLoading:function(){this.saving=3Dtrue;this.removeForm();this.le=
aveHover();this.showSaving();},showSaving:function(){this.oldInnerHTML=3D=
this.element.innerHTML;this.element.innerHTML=3Dthis.options.savingText;E=
lement.addClassName(this.element,this.options.savingClassName);this.eleme=
nt.style.backgroundColor=3Dthis.originalBackground;Element.show(this.elem=
ent);},removeForm:function(){if(this.form){if(this.form.parentNode){Eleme=
nt.remove(this.form);}this.form=3Dnull;}},enterHover:function(){if(this.s=
aving){return;}this.element.style.backgroundColor=3Dthis.options.highligh=
tcolor;if(this.effect){this.effect.cancel();}Element.addClassName(this.el=
ement,this.options.hoverClassName);},leaveHover:function(){if(this.option=
s.backgroundColor){this.element.style.backgroundColor=3Dthis.oldBackgroun=
d;}Element.removeClassName(this.element,this.options.hoverClassName);if(t=
his.saving){return;}this.effect=3Dnew =
Effect.Highlight(this.element,{startcolor:this.options.highlightcolor,end=
color:this.options.highlightendcolor,restorecolor:this.originalBackground=
});},leaveEditMode:function(){Element.removeClassName(this.element,this.o=
ptions.savingClassName);this.removeForm();this.leaveHover();this.element.=
style.backgroundColor=3Dthis.originalBackground;Element.show(this.element=
);if(this.options.externalControl){Element.show(this.options.externalCont=
rol);}this.editing=3Dfalse;this.saving=3Dfalse;this.oldInnerHTML=3Dnull;t=
his.onLeaveEditMode();},onComplete:function(_4c){this.leaveEditMode();thi=
s.options.onComplete.bind(this)(_4c,this.element);},onEnterEditMode:funct=
ion(){},onLeaveEditMode:function(){},dispose:function(){if(this.oldInnerH=
TML){this.element.innerHTML=3Dthis.oldInnerHTML;}this.leaveEditMode();Eve=
nt.stopObserving(this.element,"click",this.onclickListener);Event.stopObs=
erving(this.element,"mouseover",this.mouseoverListener);Event.stopObservi=
ng(this.element,"mouseout",this.mouseoutListener);if(this.options.externa=
lControl){Event.stopObserving(this.options.externalControl,"click",this.o=
nclickListener);Event.stopObserving(this.options.externalControl,"mouseov=
er",this.mouseoverListener);Event.stopObserving(this.options.externalCont=
rol,"mouseout",this.mouseoutListener);}}};Ajax.InPlaceCollectionEditor=3D=
Class.create();Object.extend(Ajax.InPlaceCollectionEditor.prototype,Ajax.=
InPlaceEditor.prototype);Object.extend(Ajax.InPlaceCollectionEditor.proto=
type,{createEditField:function(){if(!this.cached_selectTag){var =
_4d=3Ddocument.createElement("select");var =
_4e=3Dthis.options.collection||[];var =
_4f;_4e.each(function(e,i){_4f=3Ddocument.createElement("option");_4f.val=
ue=3D(e instanceof Array)?e[0]:e;if((typeof =
this.options.value=3D=3D"undefined")&&((e instanceof =
Array)?this.element.innerHTML=3D=3De[1]:e=3D=3D_4f.value)){_4f.selected=3D=
true;}if(this.options.value=3D=3D_4f.value){_4f.selected=3Dtrue;}_4f.appe=
ndChild(document.createTextNode((e instanceof =
Array)?e[1]:e));_4d.appendChild(_4f);}.bind(this));this.cached_selectTag=3D=
_4d;}this.editField=3Dthis.cached_selectTag;if(this.options.loadTextURL){=
this.loadExternalText();}this.form.appendChild(this.editField);this.optio=
ns.callback=3Dfunction(_52,_53){return =
"value=3D"+encodeURIComponent(_53);};}});Form.Element.DelayedObserver=3DC=
lass.create();Form.Element.DelayedObserver.prototype=3D{initialize:functi=
on(_54,_55,_56){this.delay=3D_55||0.5;this.element=3D$(_54);this.callback=
=3D_56;this.timer=3Dnull;this.lastValue=3D$F(this.element);Event.observe(=
this.element,"keyup",this.delayedListener.bindAsEventListener(this));},de=
layedListener:function(_57){if(this.lastValue=3D=3D$F(this.element)){retu=
rn;}if(this.timer){clearTimeout(this.timer);}this.timer=3DsetTimeout(this=
.onTimerEvent.bind(this),this.delay*1000);this.lastValue=3D$F(this.elemen=
t);},onTimerEvent:function(){this.timer=3Dnull;this.callback(this.element=
,$F(this.element));}};if(!Control){var =
Control=3D{};}Control.Slider=3DClass.create();Control.Slider.prototype=3D=
{initialize:function(_1,_2,_3){var _4=3Dthis;if(_1 instanceof =
Array){this.handles=3D_1.collect(function(e){return =
$(e);});}else{this.handles=3D[$(_1)];}this.track=3D$(_2);this.options=3D_=
3||{};this.axis=3Dthis.options.axis||"horizontal";this.increment=3Dthis.o=
ptions.increment||1;this.step=3DparseInt(this.options.step||"1");this.ran=
ge=3Dthis.options.range||$R(0,1);this.value=3D0;this.values=3Dthis.handle=
s.map(function(){return =
0;});this.spans=3Dthis.options.spans?this.options.spans.map(function(s){r=
eturn =
$(s);}):false;this.options.startSpan=3D$(this.options.startSpan||null);th=
is.options.endSpan=3D$(this.options.endSpan||null);this.restricted=3Dthis=
.options.restricted||false;this.maximum=3Dthis.options.maximum||this.rang=
e.end;this.minimum=3Dthis.options.minimum||this.range.start;this.alignX=3D=
parseInt(this.options.alignX||"0");this.alignY=3DparseInt(this.options.al=
ignY||"0");this.trackLength=3Dthis.maximumOffset()-this.minimumOffset();t=
his.handleLength=3Dthis.isVertical()?(this.handles[0].offsetHeight!=3D0?t=
his.handles[0].offsetHeight:this.handles[0].style.height.replace(/px$/,""=
)):(this.handles[0].offsetWidth!=3D0?this.handles[0].offsetWidth:this.han=
dles[0].style.width.replace(/px$/,""));this.active=3Dfalse;this.dragging=3D=
false;this.disabled=3Dfalse;if(this.options.disabled){this.setDisabled();=
}this.allowedValues=3Dthis.options.values?this.options.values.sortBy(Prot=
otype.K):false;if(this.allowedValues){this.minimum=3Dthis.allowedValues.m=
in();this.maximum=3Dthis.allowedValues.max();}this.eventMouseDown=3Dthis.=
startDrag.bindAsEventListener(this);this.eventMouseUp=3Dthis.endDrag.bind=
AsEventListener(this);this.eventMouseMove=3Dthis.update.bindAsEventListen=
er(this);this.handles.each(function(h,i){i=3D_4.handles.length-1-i;_4.set=
Value(parseFloat((_4.options.sliderValue instanceof =
Array?_4.options.sliderValue[i]:_4.options.sliderValue)||_4.range.start),=
i);Element.makePositioned(h);Event.observe(h,"mousedown",_4.eventMouseDow=
n);});Event.observe(this.track,"mousedown",this.eventMouseDown);Event.obs=
erve(document,"mouseup",this.eventMouseUp);Event.observe(document,"mousem=
ove",this.eventMouseMove);this.initialized=3Dtrue;},dispose:function(){va=
r =
_9=3Dthis;Event.stopObserving(this.track,"mousedown",this.eventMouseDown)=
;Event.stopObserving(document,"mouseup",this.eventMouseUp);Event.stopObse=
rving(document,"mousemove",this.eventMouseMove);this.handles.each(functio=
n(h){Event.stopObserving(h,"mousedown",_9.eventMouseDown);});},setDisable=
d:function(){this.disabled=3Dtrue;},setEnabled:function(){this.disabled=3D=
false;},getNearestValue:function(_b){if(this.allowedValues){if(_b>=3Dthis=
.allowedValues.max()){return =
(this.allowedValues.max());}if(_b<=3Dthis.allowedValues.min()){return =
(this.allowedValues.min());}var =
_c=3DMath.abs(this.allowedValues[0]-_b);var =
_d=3Dthis.allowedValues[0];this.allowedValues.each(function(v){var =
_f=3DMath.abs(v-_b);if(_f<=3D_c){_d=3Dv;_c=3D_f;}});return =
_d;}if(_b>this.range.end){return =
this.range.end;}if(_b0)&&(_10this.values[_11+1])){_10=3Dthis.va=
lues[_11+1];}}_10=3Dthis.getNearestValue(_10);this.values[_11]=3D_10;this=
.value=3Dthis.values[0];this.handles[_11].style[this.isVertical()?"top":"=
left"]=3Dthis.translateToPx(_10);this.drawSpans();if(!this.dragging||!thi=
s.event){this.updateFinished();}},setValueBy:function(_12,_13){this.setVa=
lue(this.values[_13||this.activeHandleIdx||0]+_12,_13||this.activeHandleI=
dx||0);},translateToPx:function(_14){return =
Math.round(((this.trackLength-this.handleLength)/(this.range.end-this.ran=
ge.start))*(_14-this.range.start))+"px";},translateToValue:function(_15){=
return =
((_15/(this.trackLength-this.handleLength)*(this.range.end-this.range.sta=
rt))+this.range.start);},getRange:function(_16){var =
v=3Dthis.values.sortBy(Prototype.K);_16=3D_16||0;return =
$R(v[_16],v[_16+1]);},minimumOffset:function(){return =
(this.isVertical()?this.alignY:this.alignX);},maximumOffset:function(){re=
turn =
(this.isVertical()?(this.track.offsetHeight!=3D0?this.track.offsetHeight:=
this.track.style.height.replace(/px$/,""))-this.alignY:(this.track.offset=
Width!=3D0?this.track.offsetWidth:this.track.style.width.replace(/px$/,""=
))-this.alignY);},isVertical:function(){return =
(this.axis=3D=3D"vertical");},drawSpans:function(){var =
_18=3Dthis;if(this.spans){$R(0,this.spans.length-1).each(function(r){_18.=
setSpan(_18.spans[r],_18.getRange(r));});}if(this.options.startSpan){this=
.setSpan(this.options.startSpan,$R(0,this.values.length>1?this.getRange(0=
).min():this.value));}if(this.options.endSpan){this.setSpan(this.options.=
endSpan,$R(this.values.length>1?this.getRange(this.spans.length-1).max():=
this.value,this.maximum));}},setSpan:function(_1a,_1b){if(this.isVertical=
()){_1a.style.top=3Dthis.translateToPx(_1b.start);_1a.style.height=3Dthis=
.translateToPx(_1b.end-_1b.start+this.range.start);}else{_1a.style.left=3D=
this.translateToPx(_1b.start);_1a.style.width=3Dthis.translateToPx(_1b.en=
d-_1b.start+this.range.start);}},updateStyles:function(){this.handles.eac=
h(function(h){Element.removeClassName(h,"selected");});Element.addClassNa=
me(this.activeHandle,"selected");},startDrag:function(_1d){if(Event.isLef=
tClick(_1d)){if(!this.disabled){this.active=3Dtrue;var =
_1e=3DEvent.element(_1d);var =
_1f=3D[Event.pointerX(_1d),Event.pointerY(_1d)];var =
_20=3D_1e;if(_20=3D=3Dthis.track){var =
_21=3DPosition.cumulativeOffset(this.track);this.event=3D_1d;this.setValu=
e(this.translateToValue((this.isVertical()?_1f[1]-_21[1]:_1f[0]-_21[0])-(=
this.handleLength/2)));var =
_22=3DPosition.cumulativeOffset(this.activeHandle);this.offsetX=3D(_1f[0]=
-_22[0]);this.offsetY=3D(_1f[1]-_22[1]);}else{while((this.handles.indexOf=
(_1e)=3D=3D-1)&&_1e.parentNode){_1e=3D_1e.parentNode;}if(this.handles.ind=
exOf(_1e)!=3D-1){this.activeHandle=3D_1e;this.activeHandleIdx=3Dthis.hand=
les.indexOf(this.activeHandle);this.updateStyles();var =
_23=3DPosition.cumulativeOffset(this.activeHandle);this.offsetX=3D(_1f[0]=
-_23[0]);this.offsetY=3D(_1f[1]-_23[1]);}}}Event.stop(_1d);}},update:func=
tion(_24){if(this.active){if(!this.dragging){this.dragging=3Dtrue;}this.d=
raw(_24);if(Prototype.Browser.WebKit){window.scrollBy(0,0);}Event.stop(_2=
4);}},draw:function(_25){var =
_26=3D[Event.pointerX(_25),Event.pointerY(_25)];var =
_27=3DPosition.cumulativeOffset(this.track);_26[0]-=3Dthis.offsetX+_27[0]=
;_26[1]-=3Dthis.offsetY+_27[1];this.event=3D_25;this.setValue(this.transl=
ateToValue(this.isVertical()?_26[1]:_26[0]));if(this.initialized&&this.op=
tions.onSlide){this.options.onSlide(this.values.length>1?this.values:this=
.value,this);}},endDrag:function(_28){if(this.active&&this.dragging){this=
.finishDrag(_28,true);Event.stop(_28);}this.active=3Dfalse;this.dragging=3D=
false;},finishDrag:function(_29,_2a){this.active=3Dfalse;this.dragging=3D=
false;this.updateFinished();},updateFinished:function(){if(this.initializ=
ed&&this.options.onChange){this.options.onChange(this.values.length>1?thi=
s.values:this.value,this);}this.event=3Dnull;}};Sound=3D{tracks:{},_enabl=
ed:true,template:new Template(""),enable:function(){Sound._enabled=3Dtrue;},disable:f=
unction(){Sound._enabled=3Dfalse;},play:function(_1){if(!Sound._enabled){=
return;}var =
_2=3DObject.extend({track:"global",url:_1,replace:false},arguments[1]||{}=
);if(_2.replace&&this.tracks[_2.track]){$R(0,this.tracks[_2.track].id).ea=
ch(function(id){var =
_4=3D$("sound_"+_2.track+"_"+id);_4.Stop&&_4.Stop();_4.remove();});this.t=
racks[_2.track]=3Dnull;}if(!this.tracks[_2.track]){this.tracks[_2.track]=3D=
{id:0};}else{this.tracks[_2.track].id++;}_2.id=3Dthis.tracks[_2.track].id=
;if(Prototype.Browser.IE){var =
_5=3Ddocument.createElement("bgsound");_5.setAttribute("id","sound_"+_2.t=
rack+"_"+_2.id);_5.setAttribute("src",_2.url);_5.setAttribute("loop","1")=
;_5.setAttribute("autostart","true");$$("body")[0].appendChild(_5);}else{=
new =
Insertion.Bottom($$("body")[0],Sound.template.evaluate(_2));}}};if(Protot=
ype.Browser.Gecko&&navigator.userAgent.indexOf("Win")>0){if(navigator.plu=
gins&&$A(navigator.plugins).detect(function(p){return =
p.name.indexOf("QuickTime")!=3D-1;})){Sound.template=3Dnew =
Template("");}else{Sound.play=3Dfunction(){};}}
------=_NextPart_000_0000_01CAD4A5.2B968EA0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://cdn.physorg.com/tmpl/default/js/functions3.js
var loadingImage =3D '/img/loading.gif'; =09
var closeButton =3D '/js/lightbox/close.gif';=09
function mytoggle(myobj, toggler) {
toggler=3Ddocument.getElementById(toggler);
if (toggler.className =3D=3D "open") {
Effect.BlindUp( myobj, {duration:0.5});
toggler.className =3D "close";
}
else=20
{
Effect.BlindDown( myobj, {duration:0.5});
toggler.className =3D "open"; =09
}
}
function showmenu(myobj) {
if (myobj !=3D "sort-1" && $('sort-1').style.display=3D=3D "") { =
$('sort-1').hide(); }
if (myobj !=3D "sort-2" && $('sort-2').style.display=3D=3D "") { =
$('sort-2').hide(); }
if (myobj !=3D "sort-3" && $('sort-3').style.display=3D=3D "") { =
$('sort-3').hide(); } =20
if (myobj !=3D "sort-4" && $('sort-4').style.display=3D=3D "") { =
$('sort-4').hide(); }
Effect.Appear(myobj, { duration: 0.5 });
}
function hidemenu(myobj) {
Effect.Fade(myobj, { duration: 1.0, delay:5 });
}
// constructor ------------------------
function Query () {
this.ref =3D document.referrer;
var qString =3D document.referrer.replace(/^[^\?]+\??/,'');
qString =3D qString.replace(/#[^#]*$/, '');
if ( qString ) {
this.queryString =3D qString;
this.params =3D this.parseQuery();
}
}
Query.prototype.parseQuery =3D function () { =20
if ( ! this.queryString ) return null;
var Pairs =3D this.queryString.split(/[&;]/);
for ( var i =3D 0; i < Pairs.length; i++ ) {
var rx =3D new RegExp(/^((enc)?q(uery)?|p)=3D(.*?)$/);
if (mt =3D rx.exec(Pairs[i])) this.q =3D mt[4];
}
}
function ShowQuery(){
var query =3D new Query();
var params =3D query.q; =20
var refSite =3D ( query.ref.indexOf('google.') > -1 || =
query.ref.indexOf('yahoo.') > -1 || query.ref.indexOf('msn.') > -1 || =
query.ref.indexOf('aol.') > -1 || query.ref.indexOf('bing.') > -1);
var showHint =3D false;
=09
var hintId =3D '20100315';
var hintText =3D 'Stay in touch while on the go with PhysOrg iPhone =
Apps .';
var hintOn =3D false;
=09
if ( params && refSite ) {=09
var hintText =3D 'Find more articles on '+unescape(params.replace(/[\+]+/g,=
' '))+' ';
closeBTfunc =3D function (){Effect.Fade('search-hint', { duration: 0.5 =
}); return false;}
showHint =3D true;
}
else if (newPM > 0 ){
var hintText =3D 'You have new PM(s) =
waiting for you';
closeBTfunc =3D function (){Effect.Fade('search-hint', { duration: 0.5 =
}); return false;}
showHint =3D true;
}=09
else if (hintOn){
ckVal =3D readCookie('physorgHint');
if (ckVal !=3D hintId){
showHint =3D true;
closeBTfunc =3D function (){setCookie('physorgHint',hintId, 30); =
Effect.Fade('search-hint', { duration: 0.5 }); return false;}
}
}
=09
=09
if (showHint){
var hintClose =3D Builder.node('a', {href: '#', id: 'hintCloseBt'});
if (hintClose.addEventListener) =
hintClose.addEventListener('click',closeBTfunc,false);
else if (hintClose.attachEvent) hintClose.attachEvent('onclick', =
closeBTfunc);
var cl =3D Builder.node('li', {className: 'close'}, hintClose);
var tx =3D Builder.node('li');
tx.innerHTML =3D hintText;
var ul =3D Builder.node('ul', [cl, tx]);
var div =3D Builder.node('div', { id: 'search-hint', style: 'display: =
none' }, ul);
=09
$('mainwrapper').appendChild(div);=09
Effect.Appear('search-hint', { duration: 1 });
}
=09
}
// ajax DEPRECIATED
function makeHttpRequest(url, handler) {
if (typeof window.ActiveXObject !=3D 'undefined' ) {
xmlDoc =3D new ActiveXObject("Microsoft.XMLHTTP");
xmlDoc.onreadystatechange =3D handler ;
}
else {
xmlDoc =3D new XMLHttpRequest();
xmlDoc.onload =3D handler;
}
xmlDoc.open( "GET", url, true );
xmlDoc.send( null );
} =09
function MakePostRequest(url, strDATA, handler) {
if (typeof window.ActiveXObject !=3D 'undefined' ) {
xmlDoc =3D new ActiveXObject("Microsoft.XMLHTTP");
xmlDoc.onreadystatechange =3D handler ;
}
else {
xmlDoc =3D new XMLHttpRequest();
xmlDoc.onload =3D handler;
}
=20
xmlDoc.open('POST', url, true);=20
xmlDoc.setRequestHeader('Content-Type', =
'application/x-www-form-urlencoded');
xmlDoc.setRequestHeader("Content-length", strDATA.length);
xmlDoc.setRequestHeader("Connection", "close");
xmlDoc.send(strDATA);
} =20
=20
=20
// bookamrk
function CreateBookmark() {=20
title =3D "PhysOrg.com: science and technology news"; =20
url =3D "http://www.physorg.com/";
=09
if (window.sidebar) { // Mozilla Firefox Bookmark =09
window.sidebar.addPanel(title, url,""); }
else if( window.external ) { // IE Favorite =09
window.external.AddFavorite( url, title); }=09
else if(window.opera && window.print) { // Opera Hotlist =09
return true; }=20
}=20
=09
=09
// font size
var min=3D8;
var max=3D18;
function increaseFontSize() {
var p =3D document.getElementsByTagName('p');
for(i=3D0;i ';}
});
return false;
}
function tabRotate(){
var tabArray =3D new Array('editorials', 'video', 'commented', =
'popular', 'emailed', 'content', 'physicsforums');
var rnd =3D Math.round(Math.random()*tabArray.length);
=20
if (rnd =3D=3D 0) return false;
=20
if(document.getElementById(tabMode)) =
document.getElementById(tabMode).parentNode.className =3D '';
tabMode =3D 'tab-'+tabArray[rnd];
document.getElementById(tabMode).parentNode.className =3D 'active';
new Ajax.Updater('tabs','/sort/'+tabArray[rnd]+'/?ajax=3D1',
{ method: 'get',
onCreate : function(){ $('tabs').innerHTML=3D' ';}
});
return true;
}
function toogleBox(obj, idText){
if (document.getElementById(obj).style.display =3D=3D 'none' ) {
Effect.Appear(obj, { duration: 1.0 });
document.getElementById(idText).innerHTML =3D 'hide';=20
}
else{
Effect.Fade(obj, { duration: 1.0, delay:0 });
document.getElementById(idText).innerHTML =3D 'show';=20
}
}
// cookie handling
function setCookie(name,value,days) {
if (days) {
var date =3D new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires =3D ";expires=3D"+date.toGMTString();
} else {
expires =3D "";
}
document.cookie =3D name+"=3D"+value+expires+";path=3D/";
}
=20
function readCookie(name) {
var needle =3D name + "=3D";
var cookieArray =3D document.cookie.split(';');
for(var i=3D0;i Enter your PhysOrg account =
email and password to sign into the system' +
'';
=09
if (document.getElementById('overlay')){
ShowAlert(lgbox);
return false;
}
else return true;
}
//quick newsletter subscription
function qNwletter(){
var email =3D document.nwletter.email.value;
var queryString =3D 'status=3Dnwletter' + '&email=3D' + escape(email);
submit =3D new Ajax.Request('/profile/ajax.php', {
method: 'post',
parameters: queryString,
onSuccess: function(respTXT){ ShowAlert(respTXT.responseText); }
});
}
// tooltip funcs
function showTooltip(objLink){
if(objLink.getAttribute('href')){
var objTooltip =3D document.getElementById("JT"); =20
var objTooltipCont =3D document.getElementById("JT_cont");=09
=20
var offY =3D getOffsetY(objLink) - 160;
=20
objTooltip.style.top =3D offY + 'px';
var patNews =3D new RegExp('news([0-9]+)');
var idEl =3D patNews.exec(objLink.getAttribute('href'));
if (idEl) objTooltipCont.innerHTML =3D =
document.getElementById(idEl[0]).innerHTML;=20
else {
patNews =3D new RegExp('([0-9]{5,10})');
var idEl =3D patNews.exec(objLink.getAttribute('href'));
if (idEl) {
var idCont =3D 'tpN'+idEl[0];
objTooltipCont.innerHTML =3D =
document.getElementById(idCont).innerHTML;=20
}
}
Effect.Appear(objTooltip, { duration: 0.4 });
// setTimeout(dispTip, 200);=09
} =20
} =09
function hideTooltip(){
Effect.Fade('JT', { duration: 0.1 });
}
=20
function getOffsetY(obj){
var curtop =3D 0;
if (obj.offsetParent) {
do {
curtop +=3D obj.offsetTop;
} while (obj =3D obj.offsetParent);
} =20
return curtop;
}
function iniToolTip()
{
=09
if (!document.getElementsByTagName){return; }
var anchors =3D document.getElementsByTagName("a");
// loop through all anchor tags
for (var i=3D0; i document.body.offsetHeight){ // =
all but Explorer Mac
xScroll =3D document.body.scrollWidth;
yScroll =3D document.body.scrollHeight;
} else { // Explorer Mac...would also work in Explorer 6 Strict, =
Mozilla and Safari
xScroll =3D document.body.offsetWidth;
yScroll =3D document.body.offsetHeight;
}
=09
var windowWidth, windowHeight;
if (self.innerHeight) { // all except Explorer
windowWidth =3D self.innerWidth;
windowHeight =3D self.innerHeight;
} else if (document.documentElement && =
document.documentElement.clientHeight) { // Explorer 6 Strict Mode
windowWidth =3D document.documentElement.clientWidth;
windowHeight =3D document.documentElement.clientHeight;
} else if (document.body) { // other Explorers
windowWidth =3D document.body.clientWidth;
windowHeight =3D document.body.clientHeight;
}=09
=09
// for small pages with total height less then height of the viewport
if(yScroll < windowHeight){
pageHeight =3D windowHeight;
} else {=20
pageHeight =3D yScroll;
}
// for small pages with total width less then width of the viewport
if(xScroll < windowWidth){=09
pageWidth =3D windowWidth;
} else {
pageWidth =3D xScroll;
}
arrayPageSize =3D new =
Array(pageWidth,pageHeight,windowWidth,windowHeight)=20
return arrayPageSize;
}
//
// pause(numberMillis)
function pause(numberMillis) {
var now =3D new Date();
var exitTime =3D now.getTime() + numberMillis;
while (true) {
now =3D new Date();
if (now.getTime() > exitTime)
return;
}
}
//
// showLightbox()
// Preloads images. Pleaces new image in lightbox then centers and =
displays.
//
function showLightbox(objLink)
{
// prep objects
var objOverlay =3D document.getElementById('overlay');
var objLightbox =3D document.getElementById('lightbox');
var objCaption =3D document.getElementById('lightboxCaption');
var objImage =3D document.getElementById('lightboxImage');
var objLoadingImage =3D document.getElementById('loadingImage');
var objLightboxDetails =3D document.getElementById('lightboxDetails');
=09
var arrayPageSize =3D getPageSize();
var arrayPageScroll =3D getPageScroll();
// center loadingImage if it exists
if (objLoadingImage) {
objLoadingImage.style.top =3D (arrayPageScroll[1] + ((arrayPageSize[3] =
- 35 - objLoadingImage.height) / 2) + 'px');
objLoadingImage.style.left =3D (((arrayPageSize[0] - 20 - =
objLoadingImage.width) / 2) + 'px');
objLoadingImage.style.display =3D 'block';
}
// set height of Overlay to take up whole page and show
objOverlay.style.height =3D (arrayPageSize[1] + 'px');
objOverlay.style.display =3D 'block';
// preload image
imgPreload =3D new Image();
imgPreload.onload=3Dfunction(){
objImage.src =3D objLink.href;
// center lightbox and make sure that the top and left values are not =
negative
// and the image placed outside the viewport
var lightboxTop =3D arrayPageScroll[1] + ((arrayPageSize[3] - 35 - =
imgPreload.height) / 2);
var lightboxLeft =3D ((arrayPageSize[0] - 20 - imgPreload.width) / 2);
=09
objLightbox.style.top =3D (lightboxTop < 0) ? "0px" : lightboxTop + =
"px";
objLightbox.style.left =3D (lightboxLeft < 0) ? "0px" : lightboxLeft + =
"px";
objLightbox.style.width =3D imgPreload.width + 'px';
objLightboxDetails.style.width =3D imgPreload.width + 'px';
=09
if(objLink.getAttribute('title')){
objCaption.style.display =3D 'block';
//objCaption.style.width =3D imgPreload.width + 'px';
objCaption.innerHTML =3D objLink.getAttribute('title');
} else {
objCaption.style.display =3D 'none';
}
=09
// A small pause between the image loading and displaying is required =
with IE,
// this prevents the previous image displaying for a short burst =
causing flicker.
if (navigator.appVersion.indexOf("MSIE")!=3D-1){
pause(250);
}=20
if (objLoadingImage) { objLoadingImage.style.display =3D 'none'; }
objLightbox.style.display =3D 'block';
// After image is loaded, update the overlay height as the new image =
might have
// increased the overall page height.
arrayPageSize =3D getPageSize();
objOverlay.style.height =3D (arrayPageSize[1] + 'px');
=09
// Check for 'x' keypress
Event.observe(document, 'keypress', function(event){ if(event.keyCode =
=3D=3D Event.KEY_ESC) hideLightbox();});
return false;
}
imgPreload.src =3D objLink.href;
=09
}
function hideLightbox()
{
// get objects
objOverlay =3D document.getElementById('overlay');
objLightbox =3D document.getElementById('lightbox');
// hide lightbox and overlay
objOverlay.style.display =3D 'none';
objLightbox.style.display =3D 'none';
=09
// disable keypress listener
document.onkeypress =3D '';
}
function initLightbox()
{
=09
if (!document.getElementsByTagName){ return; }
var anchors =3D document.getElementsByTagName("a");
// loop through all anchor tags
for (var i=3D0; i
//
//
//
=09
var objBody =3D document.getElementsByTagName("body").item(0);
=09
// create overlay div and hardcode some functional styles (aesthetic =
styles are in CSS file)
var objOverlay =3D document.createElement("div");
objOverlay.setAttribute('id','overlay');
objOverlay.onclick =3D function () {hideLightbox(); return false;}
objOverlay.style.display =3D 'none';
objOverlay.style.position =3D 'absolute';
objOverlay.style.top =3D '0';
objOverlay.style.left =3D '0';
objOverlay.style.zIndex =3D '90';
objOverlay.style.width =3D '100%';
objBody.insertBefore(objOverlay, objBody.firstChild);
=09
var arrayPageSize =3D getPageSize();
var arrayPageScroll =3D getPageScroll();
// preload and create loader image
var imgPreloader =3D new Image();
=09
// if loader image found, create link to hide lightbox and create =
loadingimage
imgPreloader.onload=3Dfunction(){
var objLoadingImageLink =3D document.createElement("a");
objLoadingImageLink.setAttribute('href','#');
objLoadingImageLink.onclick =3D function () {hideLightbox(); return =
false;}
objOverlay.appendChild(objLoadingImageLink);
=09
var objLoadingImage =3D document.createElement("img");
objLoadingImage.src =3D loadingImage;
objLoadingImage.setAttribute('id','loadingImage');
objLoadingImage.style.position =3D 'absolute';
objLoadingImage.style.zIndex =3D '150';
objLoadingImageLink.appendChild(objLoadingImage);
imgPreloader.onload=3Dfunction(){}; // clear onLoad, as IE will flip =
out w/animated gifs
return false;
}
imgPreloader.src =3D loadingImage;
// create lightbox div, same note about styles as above
var objLightbox =3D document.createElement("div");
objLightbox.setAttribute('id','lightbox');
objLightbox.style.display =3D 'none';
objLightbox.style.position =3D 'absolute';
objLightbox.style.zIndex =3D '100';=09
objBody.insertBefore(objLightbox, objOverlay.nextSibling);
=09
// create link
var objLink =3D document.createElement("a");
objLink.setAttribute('href','#');
objLink.setAttribute('title','Click to close');
objLink.onclick =3D function () {hideLightbox(); return false;}
objLightbox.appendChild(objLink);
// preload and create close button image
var imgPreloadCloseButton =3D new Image();
// if close button image found,=20
imgPreloadCloseButton.onload=3Dfunction(){
var objCloseButton =3D document.createElement("img");
objCloseButton.src =3D closeButton;
objCloseButton.setAttribute('id','closeButton');
objCloseButton.style.position =3D 'absolute';
objCloseButton.style.zIndex =3D '200';
objLink.appendChild(objCloseButton);
return false;
}
imgPreloadCloseButton.src =3D closeButton;
// create image
var objImage =3D document.createElement("img");
objImage.setAttribute('id','lightboxImage');
objLink.appendChild(objImage);
=09
// create details div, a container for the caption and keyboard message
var objLightboxDetails =3D document.createElement("div");
objLightboxDetails.setAttribute('id','lightboxDetails');
objLightbox.appendChild(objLightboxDetails);
// create caption
var objCaption =3D document.createElement("div");
objCaption.setAttribute('id','lightboxCaption');
objCaption.style.display =3D 'none';
objLightboxDetails.appendChild(objCaption);
// create keyboard message
var objKeyboardMsg =3D document.createElement("div");
objKeyboardMsg.setAttribute('id','keyboardMsg');
objKeyboardMsg.innerHTML =3D 'press esc to close';
objLightboxDetails.appendChild(objKeyboardMsg);
}
// show msg text
function ShowAlert(msg){
// prep objects
var objOverlay =3D document.getElementById('overlay');
var objLightbox =3D document.getElementById('lightbox');
var objCaption =3D document.getElementById('lightboxCaption');
var objImage =3D document.getElementById('lightboxImage');
var objLoadingImage =3D document.getElementById('loadingImage');
var objLightboxDetails =3D document.getElementById('lightboxDetails');
var arrayPageSize =3D getPageSize();
var arrayPageScroll =3D getPageScroll();
if (objOverlay) {
// set height of Overlay to take up whole page and show
objOverlay.style.height =3D (arrayPageSize[1] + 'px');
objOverlay.style.display =3D 'block';=09
// hide any previously loaded images
//objImage.src =3D '/img/warning.png';
objImage.src =3D '/img/dotted.gif';
// center lightbox and make sure that the top and left values are not =
negative
var lightboxTop =3D arrayPageScroll[1] + ( arrayPageSize[3]/2 - 100 );
var lightboxLeft =3D (arrayPageSize[0]/2 - 250);
=09
objLightbox.style.top =3D (lightboxTop < 0) ? "0px" : lightboxTop + =
"px";
objLightbox.style.left =3D (lightboxLeft < 0) ? "0px" : lightboxLeft + =
"px";
=09
objLightbox.style.width =3D '500px';
objCaption.innerHTML =3D '' + msg + '
';
=09
objLightbox.style.display =3D 'block';
objCaption.style.display =3D 'block';
pause(500);
new Effect.Highlight('lightbox', { startcolor: '#FFFF66', endcolor: =
'#FFFFFF', restorecolor: '#FFFFFF' });
=09
// Check for 'x' keypress
Event.observe(document, 'keypress', function(event){ if(event.keyCode =
=3D=3D Event.KEY_ESC) hideLightbox();});
}
else {
if (ShowAlert.arguments[1]) alert(ShowAlert.arguments[1]);
else alert(msg);
}
return;
} =20
=20
=20
=20
function addLoadEvent_v2(func)
{=09
var oldonload =3D window.onload;
if (typeof window.onload !=3D 'function'){
window.onload =3D func;
} else {
window.onload =3D function(){
oldonload();
func();
}
}
}=09
addLoadEvent_v2(iniToolTip); // run iniToolTip onLoad
addLoadEvent_v2(initLightbox); // lighbox
------=_NextPart_000_0000_01CAD4A5.2B968EA0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.physorg.com/js/news_rank.js
// voting on news page
var respDiv =3D 'rank';
function rateit(newsid, rank){
var req =3D =
'/votes/?submit=3Dtrue&newsid=3D'+newsid+'&rank=3D'+rank;
if (rateit.arguments[2]) respDiv =3D rateit.arguments[2];
=09
ajax =3D new Ajax.Request(req, {method: 'get',
onCreate : function (){
$('rank').innerHTML =3D ' ';=20
$('bottom-vote').innerHTML =3D ' ';=20
},
onSuccess: updatevotes });
}
function updatevotes(xmlDoc){
var rank, votes;
response =3D xmlDoc.responseXML.documentElement;
if (response.getElementsByTagName('code')[0].firstChild.data =3D=3D =
200 )
{
rank =3D response.getElementsByTagName('rank')[0].firstChild.data;
votes =3D response.getElementsByTagName('total')[0].firstChild.data;
$('rank').innerHTML =3D rank +" /5 ("+ votes + " votes)";
$('bottom-vote').innerHTML =3D rank +" /5 ("+ votes + " votes)";
$('nwvoteTp').remove();
$('nwvoteBt').remove();
}
else ShowAlert("Sorry, your request can't be processed.");
=20
return;
}
=20
function moveObject(n1, e) {=20
var posX, posY; =20
var Xoffset =3D 300; =20
var Yoffset =3D -50;
if(!e)e=3Dself.event;=20
=20
if (ns4) {=20
posY =3D window.pageYOffset + e.pageY + Yoffset;
document.n1.top =3D posY;=20
}=20
else if (ie4) {=20
posY =3D document.documentElement.scrollTop + e.clientY + Yoffset; ;
document.all[n1].style.top =3D posY;=20
}=20
else if (nn6) {=20
posY =3D e.pageY + Yoffset ;
document.getElementById(n1).style.top =3D posY +"px";
}=20
}
function ShowHint(msg){
var element =3D $('iconHint');
element.innerHTML =3D msg;
element.setStyle({display: 'block'});
}
function HideHint(){
$('iconHint').hide();
}
function addStar(newsid){
var req =3D '/addStar/?newsid=3D'+newsid;
ajax =3D new Ajax.Request(req, {method: 'get', onSuccess: updateStar =
});
}
function updateStar(xmlDoc){
var msgHtml =3D 'Oops you\'re not logged in. ' +
'If you are not registered, please do so , it takes =
less than 60-seconds. ' +
'If you are already registered, please login here .';
=09
var msg =3D 'Oops you\'re not logged in. If you are not registered, =
please do so, it takes less than 60-seconds. If you are already =
registered, please login.';
=20
response =3D xmlDoc.responseXML.documentElement;
if (response.getElementsByTagName('code')[0].firstChild.data =3D=3D =
200 ) $('favImg').src =3D s_imgStar;
else if (response.getElementsByTagName('code')[0].firstChild.data =
=3D=3D 500 ) ShowAlert(msgHtml, msg);
else ShowAlert('Sorry, your request can\'t be processed.');
}
function submitFeedback(){
for (var i=3D0; i < document.storyFeedback.clear.length;i++){=20
if (document.storyFeedback.clear[i].checked) var clear =3D =
document.storyFeedback.clear[i].value;
if (document.storyFeedback.detail[i].checked) var detail =3D =
document.storyFeedback.detail[i].value;
}
=09
var msg =3D document.storyFeedback.msg.value; =20
var email =3D document.storyFeedback.email.value; =20
=09
var confirm =3D 'Thank you for taking your time to send in your valued =
opinion to PhysOrg.com editors. ' +
'You can be assured our editors closely monitor every feedback =
sent and will take appropriate actions.' +
'Your opinions are important to us. We do not guarantee =
individual replies due to extremely high volume of correspondence.';
=09
var queryString =3D 'nid=3D' + nid +'&clear=3D' + escape(clear) + =
'&detail=3D' + detail +'&msg=3D' + escape(msg) + '&email=3D' + =
escape(email);
submit =3D new Ajax.Request('/addFeedback/', {
method: 'post',
parameters: queryString,
onCreate: function(){ ShowAlert(confirm); }
});
=20
}
function createFeedback(){
ajax =3D new Ajax.Request('/addFeedback/',
{
method: 'get',
onSuccess: function(xmlDoc){
response =3D xmlDoc.responseText;
ShowAlert(response, 'Your request cannot be processed at this =
moment');
}
});
}
function showFeeback(){
document.write('send feedback to editors ');
}
------=_NextPart_000_0000_01CAD4A5.2B968EA0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.physorg.com/js/adsense_news_page2.js
function google_ad_request_done(google_ads) {
var s =3D '';
var i;
var goog_url =3D'';
=09
if (google_ads.length =3D=3D 0) { return; }
=09
s =3D '';=20
// 'Ads by google' =09
goog_url +=3D'';
if (google_info.feedback_url) {
goog_url +=3D 'Ads =
by Google ';
} else { goog_url +=3D 'Ads by Google';}
goog_url +=3D '
'
=09
if (google_ads[0].type =3D=3D "flash") {
s +=3D '';
if (google_info.feedback_url) {
s +=3D 'Ads by =
Google ';
} else { s +=3D 'Ads by Google';}=20
s +=3D '
';
s +=3D ' ' +
' ' +
' ' +
' '+
'
';
} else if (google_ads[0].type =3D=3D "image") {
s +=3D '';
if (google_info.feedback_url) {
s +=3D 'Ads by =
Google ';
} else { s +=3D 'Ads by Google';}=20
s +=3D '
';
s +=3D '
';
} else if (google_ads[0].type =3D=3D "html") {
s +=3D '';
if (google_info.feedback_url) {
s +=3D 'Ads by =
Google ';
} else { s +=3D 'Ads by Google';}=20
s +=3D '
';
s +=3D ' ' +
''+google_ads[0].snippet+'
';
=09
=09
} else {
if (google_ads.length =3D=3D 1) {
s +=3D goog_url +''+=20
'' +
google_ads[0].line1 + " " + ' - ' +
google_ads[0].line2 + ' ' + google_ads[0].line3 + =20
' - '+
'' + =
=20
google_ads[0].visible_url + ' ' +
=09
'
';=09
} else if (google_ads.length > 1) {=09
s +=3D goog_url;
for(i =3D 0; i < google_ads.length; ++i) {
s +=3D '
' +
'' +
google_ads[i].line1 + " " + ' - ' +
google_ads[i].line2 + ' ' + google_ads[i].line3 + ' - '+
'' + =
=20
google_ads[i].visible_url + ' ' +
'
';=09
}=20
s +=3D ' ';
}
}
=09
if (google_ads[0].bidtype =3D=3D "CPC") { google_adnum =3D =
google_adnum + google_ads.length; }
=09
s +=3D'
';
=09
document.write(s);
return;
} // end func
------=_NextPart_000_0000_01CAD4A5.2B968EA0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://pagead2.googlesyndication.com/pagead/show_ads.js
(function(){var h=3Dtrue,i=3Dnull,j=3Dfalse,aa=3D(new =
Date).getTime(),ba=3Dfunction(a){var b=3D(new =
Date).getTime()-aa;b=3D"&dtd=3D"+(b<1E3?b:"M");return a+b};var =
k=3Dthis,ca=3Dfunction(a,b,c){a=3Da.split(".");c=3Dc||k;!(a[0]in =
c)&&c.execScript&&c.execScript("var "+a[0]);for(var =
d;a.length&&(d=3Da.shift());)if(!a.length&&b!=3D=3Dundefined)c[d]=3Db;els=
e c=3Dc[d]?c[d]:(c[d]=3D{})},l=3Dfunction(a){var b=3Dtypeof =
a;if(b=3D=3D"object")if(a){if(a instanceof Array||!(a instanceof =
Object)&&Object.prototype.toString.call(a)=3D=3D"[object Array]"||typeof =
a.length=3D=3D"number"&&typeof a.splice!=3D"undefined"&&typeof =
a.propertyIsEnumerable!=3D"undefined"&&!a.propertyIsEnumerable("splice"))=
return"array";=0A=
if(!(a instanceof =
Object)&&(Object.prototype.toString.call(a)=3D=3D"[object =
Function]"||typeof a.call!=3D"undefined"&&typeof =
a.propertyIsEnumerable!=3D"undefined"&&!a.propertyIsEnumerable("call")))r=
eturn"function"}else return"null";else if(b=3D=3D"function"&&typeof =
a.call=3D=3D"undefined")return"object";return b},m=3Dfunction(a){return =
l(a)=3D=3D"array"},da=3Dfunction(a){var b=3Dl(a);return =
b=3D=3D"array"||b=3D=3D"object"&&typeof =
a.length=3D=3D"number"},n=3Dfunction(a){return typeof =
a=3D=3D"string"},ea=3Dfunction(a){a=3Dl(a);return a=3D=3D"object"||=0A=
a=3D=3D"array"||a=3D=3D"function"},fa=3Dfunction(a){var =
b=3Dl(a);if(b=3D=3D"object"||b=3D=3D"array"){if(a.clone)return =
a.clone.call(a);b=3Db=3D=3D"array"?[]:{};for(var c in =
a)b[c]=3Dfa(a[c]);return b}return a},ga=3Dfunction(a,b){var =
c=3Db||k;if(arguments.length>2){var =
d=3DArray.prototype.slice.call(arguments,2);return function(){var =
e=3DArray.prototype.slice.call(arguments);Array.prototype.unshift.apply(e=
,d);return a.apply(c,e)}}else return function(){return =
a.apply(c,arguments)}},p=3Dfunction(a,b,c){ca(a,b,c)};var =
q=3Dfunction(a,b){a=3DparseFloat(a);return =
isNaN(a)||a>1||a<0?b:a},ha=3Dfunction(a,b){if(a=3D=3D"true")return =
h;if(a=3D=3D"false")return j;return =
b},ia=3D/^([\w-]+\.)*([\w-]{2,})(\:[0-9]+)?$/,r=3Dfunction(a,b){if(!a)ret=
urn b;return(a=3Da.match(ia))?a[0]:b};var ja=3Dfunction(){return =
r("","googleads.g.doubleclick.net")},ka=3Dfunction(){return =
r("","pagead2.googlesyndication.com")},s=3Dfunction(){return =
r("","pagead2.googlesyndication.com")};var =
t=3DArray.prototype,la=3Dt.forEach?function(a,b,c){t.forEach.call(a,b,c)}=
:function(a,b,c){for(var =
d=3Da.length,e=3Dn(a)?a.split(""):a,f=3D0;f")!=3D-1)a=3Da.replace(ra,">=
;");if(a.indexOf('"')!=3D-1)a=3Da.replace(sa,""");return =
a}},pa=3D/&/g,qa=3D//g,sa=3D/\"/g,ta=3D/[&<>\"]/,xa=3Dfunction=
(a){if(a.indexOf("&")!=3D-1)return"document"in =
k&&a.indexOf("<")=3D=3D-1?va(a):wa(a);return a},va=3Dfunction(a){var b=3D=0A=
k.document.createElement("a");b.innerHTML=3Da;b.normalize&&b.normalize();=
a=3Db.firstChild.nodeValue;b.innerHTML=3D"";return =
a},wa=3Dfunction(a){return =
a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case =
"lt":return"<";case "gt":return">";case =
"quot":return'"';default:if(c.charAt(0)=3D=3D"#"){c=3DNumber("0"+c.substr=
(1));if(!isNaN(c))return String.fromCharCode(c)}return =
b}})},ya=3Dfunction(a,b){for(var c=3Db.length,d=3D0;db)return 1;return =
0};var v,Ba,w,Ca,Da,Ea,Fa,Ga,Ha,Ia=3Dfunction(){return =
k.navigator?k.navigator.userAgent:i},x=3Dfunction(){return =
k.navigator},Ja=3Dfunction(){Da=3DCa=3Dw=3DBa=3Dv=3Dj;var =
a;if(a=3DIa()){var =
b=3Dx();v=3Da.indexOf("Opera")=3D=3D0;Ba=3D!v&&a.indexOf("MSIE")!=3D-1;Ca=
=3D(w=3D!v&&a.indexOf("WebKit")!=3D-1)&&a.indexOf("Mobile")!=3D-1;Da=3D!v=
&&!w&&b.product=3D=3D"Gecko"}};Ja();=0A=
var y=3Dv,z=3DBa,Ka=3DDa,La=3Dw,Ma=3DCa,Na=3Dfunction(){var =
a=3Dx();return =
a&&a.platform||""},Oa=3DNa(),Pa=3Dfunction(){Ea=3DOa.indexOf("Mac")!=3D-1=
;Fa=3DOa.indexOf("Win")!=3D-1;Ga=3DOa.indexOf("Linux")!=3D-1;Ha=3D!!x()&&=
(x().appVersion||"").indexOf("X11")!=3D-1};Pa();=0A=
var Qa=3DEa,Ra=3DFa,Sa=3DGa,Ta=3Dfunction(){var =
a=3D"",b;if(y&&k.opera){a=3Dk.opera.version;a=3Dtypeof =
a=3D=3D"function"?a():a}else{if(Ka)b=3D/rv\:([^\);]+)(\)|;)/;else =
if(z)b=3D/MSIE\s+([^\);]+)(\)|;)/;else =
if(La)b=3D/WebKit\/(\S+)/;if(b)a=3D(a=3Db.exec(Ia()))?a[1]:""}return =
a},Ua=3DTa(),Va=3D{},A=3Dfunction(a){return =
Va[a]||(Va[a]=3DAa(Ua,a)>=3D0)};var Wa=3Dfunction(a){return =
n(a)?document.getElementById(a):a},Xa=3DWa,Za=3Dfunction(a,b){oa(b,functi=
on(c,d){if(d=3D=3D"style")a.style.cssText=3Dc;else =
if(d=3D=3D"class")a.className=3Dc;else =
if(d=3D=3D"for")a.htmlFor=3Dc;else if(d in =
Ya)a.setAttribute(Ya[d],c);else =
a[d]=3Dc})},Ya=3D{cellpadding:"cellPadding",cellspacing:"cellSpacing",col=
span:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"w=
idth",usemap:"useMap",frameborder:"frameBorder",type:"type"},$a=3Dfunctio=
n(a){var b=3Da.document;if(La&&!A("500")&&!Ma){if(typeof =
a.innerHeight=3D=3D=0A=
"undefined")a=3Dwindow;b=3Da.innerHeight;var =
c=3Da.document.documentElement.scrollHeight;if(a=3D=3Da.top)if(c");c=3Dc.join("")}var e=3D=0A=
a.createElement(c);if(d)if(n(d))e.className=3Dd;else =
Za(e,d);if(b.length>2){d=3Dfunction(g){if(g)e.appendChild(n(g)?a.createTe=
xtNode(g):g)};for(c=3D2;c0)?la(cb(f)?na(f):f,d):d(f)}}return =
e},db=3Dfunction(a,b){a.appendChild(b)},cb=3Dfunction(a){if(a&&typeof =
a.length=3D=3D"number")if(ea(a))return typeof =
a.item=3D=3D"function"||typeof a.item=3D=3D"string";else =
if(l(a)=3D=3D"function")return typeof a.item=3D=3D"function";return =
j};var eb=3Ddocument,B=3Dwindow;s();var D=3Dfunction(a,b){for(var c in =
a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(i,a[c],c,a)},gb=3Dfun=
ction(a,b){if(!a||!ea(a))return =
h;return!fb(a,b.prototype)},fb=3Dfunction(a,b){if(!a)return j;var =
c=3Dh;D(b,function(d,e){if(!c||!(e in a)||typeof d!=3Dtypeof =
a[e])c=3Dj});return c},hb=3Dfunction(a){if(arguments.length<2)return =
a.length;for(var =
b=3D1,c=3Darguments.length;b=3D0){a=3D3;for(var b=3D1;b;)try{b=3Dnew =
ActiveXObject("ShockwaveFlash.ShockwaveFlash."+(a+1));a++}catch(c){b=3Di}=
return a.toString()}else if(lb("msie")&&!window.opera){b=3Di;try{b=3Dnew =
ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(d){a=3D=0A=
0;try{b=3Dnew =
ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");a=3D6;b.AllowScriptAcces=
s=3D"always"}catch(e){if(a=3D=3D6)return a.toString()}try{b=3Dnew =
ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(f){}}if(b){a=3Db.Get=
Variable("$version").split(" ")[1];return =
a.replace(/,/g,".")}}return"0"}function F(a){var =
b=3Da.google_ad_format;if(b)return b.indexOf("_0ads")>0;return =
a.google_ad_output!=3D"html"&&a.google_num_radlinks>0}function =
G(a){return!!a&&a.indexOf("_sdo")!=3D-1}=0A=
function H(a,b){if(!(Math.random()<1.0E-4)){var =
c=3DMath.random();if(c>2)+e&4294967295}return =
b},rb=3Dfunction(a){if(a=3D=3Da.top)return 0;var =
b=3D[];b.push(document.URL);a.name&&b.push(a.name);a=3Dh;a=3Dpb(!a);b.pus=
h(a.width.toString());b.push(a.height.toString());b=3Dqb(b.join(""));retu=
rn b>0?b:4294967296+b};var =
sb=3D{google_ad_channel:"channel",google_ad_host:"host",google_ad_host_ch=
annel:"h_ch",google_ad_host_tier_id:"ht_id",google_ad_section:"region",go=
ogle_ad_type:"ad_type",google_adtest:"adtest",google_allow_expandable_ads=
:"ea",google_alternate_ad_url:"alternate_ad_url",google_alternate_color:"=
alt_color",google_bid:"bid",google_city:"gcs",google_color_bg:"color_bg",=
google_color_border:"color_border",google_color_line:"color_line",google_=
color_link:"color_link",google_color_text:"color_text",google_color_url:"=
color_url",=0A=
google_contents:"contents",google_country:"gl",google_cpm:"cpm",google_cu=
st_age:"cust_age",google_cust_ch:"cust_ch",google_cust_gender:"cust_gende=
r",google_cust_id:"cust_id",google_cust_interests:"cust_interests",google=
_cust_job:"cust_job",google_cust_l:"cust_l",google_cust_lh:"cust_lh",goog=
le_cust_u_url:"cust_u_url",google_disable_video_autoplay:"disable_video_a=
utoplay",google_ed:"ed",google_encoding:"oe",google_feedback:"feedback_li=
nk",google_flash_version:"flash",google_font_face:"f",google_font_size:"f=
s",=0A=
google_hints:"hints",google_kw:"kw",google_kw_type:"kw_type",google_langu=
age:"hl",google_page_url:"url",google_region:"gr",google_reuse_colors:"re=
use_colors",google_safe:"adsafe",google_tag_info:"gut",google_targeting:"=
targeting",google_ui_features:"ui",google_ui_version:"uiv",google_video_d=
oc_id:"video_doc_id",google_video_product_type:"video_product_type"},tb=3D=
{google_ad_client:"client",google_ad_format:"format",google_ad_output:"ou=
tput",google_ad_callback:"callback",google_ad_height:"h",google_ad_overri=
de:"google_ad_override",=0A=
google_ad_slot:"slotname",google_ad_width:"w",google_ctr_threshold:"ctr_t=
",google_image_size:"image_size",google_last_modified_time:"lmt",google_m=
ax_num_ads:"num_ads",google_max_radlink_len:"max_radlink_len",google_num_=
radlinks:"num_radlinks",google_num_radlinks_per_unit:"num_radlinks_per_un=
it",google_only_ads_with_video:"only_ads_with_video",google_rl_dest_url:"=
rl_dest_url",google_rl_filtering:"rl_filtering",google_rl_mode:"rl_mode",=
google_rt:"rt",google_skip:"skip"},ub=3D{google_only_pyv_ads:"pyv",=0A=
google_with_pyv_ads:"withpyv"};function vb(a,b){try{return =
a.top.document.URL=3D=3Db.URL}catch(c){}return j}function =
wb(a,b,c,d){c=3Dc||a.google_ad_width;d=3Dd||a.google_ad_height;if(vb(a,b)=
)return j;var e=3Db.documentElement;if(c&&d){var =
f=3D1,g=3D1;if(a.innerHeight){f=3Da.innerWidth;g=3Da.innerHeight}else =
if(e&&e.clientHeight){f=3De.clientWidth;g=3De.clientHeight}else =
if(b.body){f=3Db.body.clientWidth;g=3Db.body.clientHeight}if(g>2*d||f>2*c=
)return j}return h}function =
xb(a,b){D(b,function(c,d){a["google_"+d]=3Dc})}=0A=
function yb(a,b){if(!b)return a.URL;return a.referrer}function =
zb(a,b){if(!b&&a.google_referrer_url=3D=3Di)return"0";else =
if(b&&a.google_referrer_url=3D=3Di)return"1";else =
if(!b&&a.google_referrer_url!=3Di)return"2";else =
if(b&&a.google_referrer_url!=3Di)return"3";return"4"}function =
Ab(a,b,c,d){a.page_url=3Dyb(c,d);a.page_location=3Di}function =
Bb(a,b,c,d){a.page_url=3Db.google_page_url;a.page_location=3Dyb(c,d)||"EM=
PTY"}=0A=
function Db(a,b){var =
c=3D{},d=3Dwb(a,b,a.google_ad_width,a.google_ad_height);c.iframing=3Dzb(a=
,d);a.google_page_url?Bb(c,a,b,d):Ab(c,a,b,d);c.last_modified_time=3Db.UR=
L=3D=3Dc.page_url?Date.parse(b.lastModified)/1E3:i;c.referrer_url=3Dd?a.g=
oogle_referrer_url:a.google_page_url&&a.google_referrer_url?a.google_refe=
rrer_url:b.referrer;return c}function Eb(a){var =
b=3D{},c=3Da.URL.substring(a.URL.lastIndexOf("http"));b.iframing=3Di;b.pa=
ge_url=3Dc;b.page_location=3Da.URL;b.last_modified_time=3Di;b.referrer_ur=
l=3Dc;return b}=0A=
function Fb(a,b){b=3DGb(a,b);xb(a,b)}function Gb(a,b){return =
a=3Da.google_page_url=3D=3Di&&Hb[b.domain]?Eb(b):Db(a,b)}var =
Hb=3D{};Hb["ad.yieldmanager.com"]=3Dh;var =
Ib=3Dq("0.2",0),Jb=3Dq("1",0),Kb=3Dq("0.01",0),Lb=3Dq("0.01",0),Mb=3Dq("0=
.008",0),Nb=3Dq("0.01",0),Ob=3Dq("0",0);var =
Pb=3Dha("false",j),Qb=3Dha("false",j),Rb=3Dha("false",j);var =
Sb=3Dfunction(a,b,c){b=3Dga(b,k,a);a=3Dwindow.onerror;window.onerror=3Db;=
try{c()}catch(d){c=3Dd.toString();var =
e=3D"";if(d.fileName)e=3Dd.fileName;var =
f=3D-1;if(d.lineNumber)f=3Dd.lineNumber;b=3Db(c,e,f);if(!b)throw =
d;}window.onerror=3Da};p("google_protectAndRun",Sb);=0A=
var Ub=3Dfunction(a,b,c,d){if(Math.random()<0.01){var =
e=3Deb;a=3D["http://",ka(),"/pagead/gen_204","?id=3Djserror","&jscb=3D",P=
b?1:0,"&jscd=3D",Qb?1:0,"&context=3D",E(a),"&msg=3D",E(b),"&file=3D",E(c)=
,"&line=3D",E(d.toString()),"&url=3D",E(e.URL.substring(0,512)),"&ref=3D"=
,E(e.referrer.substring(0,512))];a.push(Tb());kb(B,a.join(""))}return!Rb}=
;p("google_handleError",Ub);=0A=
var Wb=3Dfunction(a){Vb|=3Da},Vb=3D0,Tb=3Dfunction(){var =
a=3D["&client=3D",E(B.google_ad_client),"&format=3D",E(B.google_ad_format=
),"&slotname=3D",E(B.google_ad_slot),"&output=3D",E(B.google_ad_output),"=
&ad_type=3D",E(B.google_ad_type)];return a.join("")};var =
Xb=3D"",$b=3Dfunction(){if(window.google_ad_frameborder=3D=3Di)window.goo=
gle_ad_frameborder=3D0;if(window.google_ad_output=3D=3Di)window.google_ad=
_output=3D"html";if(G(window.google_ad_format)){var =
a=3Dwindow.google_ad_format.match(/^(\d+)x(\d+)_.*/);if(a){window.google_=
ad_width=3DparseInt(a[1],10);window.google_ad_height=3DparseInt(a[2],10);=
window.google_ad_output=3D"html"}}window.google_ad_format=3DYb(window.goo=
gle_ad_format,window.google_ad_output,window.google_ad_width,window.googl=
e_ad_height,window.google_ad_slot,=0A=
!!window.google_override_format);Xb=3Dwindow.google_ad_client||"";window.=
google_ad_client=3DZb(window.google_ad_format,window.google_ad_client);Fb=
(window,document);if(window.google_flash_version=3D=3Di)window.google_fla=
sh_version=3Dnb();window.google_ad_section=3Dwindow.google_ad_section||wi=
ndow.google_ad_region||"";window.google_country=3Dwindow.google_country||=
window.google_gl||"";a=3D(new =
Date).getTime();if(m(window.google_color_bg))window.google_color_bg=3DI(w=
indow.google_color_bg,a);if(m(window.google_color_text))window.google_col=
or_text=3D=0A=
I(window.google_color_text,a);if(m(window.google_color_link))window.googl=
e_color_link=3DI(window.google_color_link,a);if(m(window.google_color_url=
))window.google_color_url=3DI(window.google_color_url,a);if(m(window.goog=
le_color_border))window.google_color_border=3DI(window.google_color_borde=
r,a);if(m(window.google_color_line))window.google_color_line=3DI(window.g=
oogle_color_line,a)},ac=3Dfunction(a){D(sb,function(b,c){a[c]=3Di});D(tb,=
function(b,c){a[c]=3Di});D(ub,function(b,c){a[c]=3Di});a.google_container=
_id=3Di;=0A=
a.google_eids=3Di;a.google_page_location=3Di;a.google_referrer_url=3Di;a.=
google_ad_region=3Di;a.google_gl=3Di},I=3Dfunction(a,b){Wb(2);return =
a[b%a.length]},Zb=3Dfunction(a,b){if(!b)return"";b=3Db.toLowerCase();retu=
rn =
b=3DG(a)?bc(b):cc(b)},cc=3Dfunction(a){if(a&&a.substring(0,3)!=3D"ca-")a=3D=
"ca-"+a;return =
a},bc=3Dfunction(a){if(a&&a.substring(0,7)!=3D"ca-aff-")a=3D"ca-aff-"+a;r=
eturn =
a},Yb=3Dfunction(a,b,c,d,e,f){if(!a&&b=3D=3D"html")a=3Dc+"x"+d;return =
a=3Ddc(a,e,f)?a.toLowerCase():""},dc=3Dfunction(a,b,c){if(!a)return =
j;if(!b)return h;return c};var L=3Ddocument,M=3Dnavigator,N=3Dwindow;=0A=
function ec(){var a=3DL.cookie,b=3DMath.round((new =
Date).getTime()/1E3),c=3DN.google_analytics_domain_name;c=3Dtypeof =
c=3D=3D"undefined"?fc("auto"):fc(c);var =
d=3Da.indexOf("__utma=3D"+c+".")>-1,e=3Da.indexOf("__utmb=3D"+c)>-1,f=3Da=
.indexOf("__utmc=3D"+c)>-1,g=3D{},o=3D!!N&&!!N.gaGlobal;if(d){a=3Da.split=
("__utma=3D"+c+".")[1].split(";")[0].split(".");g.sid=3De&&f?a[3]+"":o&&N=
.gaGlobal.sid?N.gaGlobal.sid:b+"";g.vid=3Da[0]+"."+a[1];g.from_cookie=3Dh=
}else{g.sid=3Do&&N.gaGlobal.sid?N.gaGlobal.sid:b+"";g.vid=3Do&&N.gaGlobal=
.vid?N.gaGlobal.vid:=0A=
(Math.round(Math.random()*2147483647)^gc()&2147483647)+"."+b;g.from_cooki=
e=3Dj}g.dh=3Dc;g.hid=3Do&&N.gaGlobal.hid?N.gaGlobal.hid:Math.round(Math.r=
andom()*2147483647);return N.gaGlobal=3Dg}=0A=
function gc(){var =
a=3DL.cookie?L.cookie:"",b=3DN.history.length,c,d=3D[M.appName,M.version,=
M.language?M.language:M.browserLanguage,M.platform,M.userAgent,M.javaEnab=
led()?1:0].join("");if(N.screen)d+=3DN.screen.width+"x"+N.screen.height+N=
.screen.colorDepth;else =
if(N.java){c=3Djava.awt.Toolkit.getDefaultToolkit().getScreenSize();d+=3D=
c.screen.width+"x"+c.screen.height}d+=3Da;d+=3DL.referrer?L.referrer:"";f=
or(a=3Dd.length;b>0;)d+=3Db--^a++;return hc(d)}=0A=
function hc(a){var =
b=3D1,c=3D0,d;if(!(a=3D=3Dundefined||a=3D=3D"")){b=3D0;for(d=3Da.length-1=
;d>=3D0;d--){c=3Da.charCodeAt(d);b=3D(b<<6&268435455)+c+(c<<14);c=3Db&266=
338304;b=3Dc!=3D0?b^c>>21:b}}return b}function =
fc(a){if(!a||a=3D=3D""||a=3D=3D"none")return =
1;if("auto"=3D=3Da){a=3DL.domain;if("www."=3D=3Da.substring(0,4))a=3Da.su=
bstring(4,a.length)}return hc(a.toLowerCase())};var =
ic,jc,kc,lc,mc,nc,oc,pc=3Dfunction(){oc=3Dnc=3Dmc=3Dlc=3Dkc=3Djc=3Dic=3Dj=
;var a=3DIa();if(a)if(a.indexOf("Firefox")!=3D-1)ic=3Dh;else =
if(a.indexOf("Camino")!=3D-1)jc=3Dh;else =
if(a.indexOf("iPhone")!=3D-1||a.indexOf("iPod")!=3D-1)kc=3Dh;else =
if(a.indexOf("iPad")!=3D-1)lc=3Dh;else =
if(a.indexOf("Android")!=3D-1)mc=3Dh;else =
if(a.indexOf("Chrome")!=3D-1)nc=3Dh;else =
if(a.indexOf("Safari")!=3D-1)oc=3Dh};pc();var qc=3Dfunction(a){var =
b=3D"google_test";try{var =
c=3Da[b];a[b]=3D!c;if(a[b]=3D=3D=3D!c){a[b]=3Dc;return =
h}}catch(d){}return =
j},rc=3Dfunction(a){for(;a!=3Da.parent&&qc(a.parent);)a=3Da.parent;return=
=
a},O=3Di,sc=3Dfunction(){if(!O){O=3Drc(window);O!=3Dwindow&&Wb(4)}return =
O};var P=3Dfunction(){this.defaultBucket=3D[];this.layers=3D{};for(var =
a=3D0,b=3Darguments.length;a0&&a.length>0)return =
this.defaultBucket.join(",")+","+a.join(",");return =
this.defaultBucket.join(",")+a.join(",")};var =
vc=3Dfunction(a){this.a=3Dthis.S=3Da;uc(this)},Q,R=3Dfunction(){if(Q)retu=
rn Q;var a=3Dwindow.google_persistent_state;if(typeof =
a!=3D"object"||typeof a.S!=3D"object"){a=3Dwindow;return =
window.google_persistent_state=3DQ=3Dnew vc(a)}return =
Q=3Dwindow.google_persistent_state},uc=3Dfunction(a){S(a,1,j);S(a,2,j);S(=
a,3,i);S(a,4,0);S(a,5,0);S(a,6,0);S(a,7,(new =
Date).getTime());S(a,8,{});S(a,9,{});S(a,10,{});S(a,11,[]);S(a,13,0);S(a,=
12,0)},wc=3Dfunction(a){switch(a){case =
1:return"google_new_domain_enabled";case =
2:return"google_new_domain_checked";=0A=
case 3:return"google_exp_persistent";case =
4:return"google_num_sdo_slots";case 5:return"google_num_0ad_slots";case =
6:return"google_num_ad_slots";case 7:return"google_correlator";case =
8:return"google_prev_ad_formats_by_region";case =
9:return"google_prev_ad_slotnames_by_region";case =
10:return"google_num_slots_by_channel";case =
11:return"google_viewed_host_channels";case =
12:return"google_num_slot_to_show";case =
13:return"google_unique_id"}},T=3Dfunction(a,b){b=3Dwc(b);return =
a=3Da.S[b]},U=3Dfunction(a,b,c){return a.S[wc(b)]=3D=0A=
c},S=3Dfunction(a,b,c){a=3Da.S;b=3Dwc(b);if(a[b]=3D=3D=3Dundefined)return=
a[b]=3Dc;return a[b]},xc=3Dfunction(a){if(T(a,1))return h;return =
U(a,1,!!window.google_new_domain_enabled)},yc=3Dfunction(a,b){return =
U(a,3,b)};var V,zc,W=3Dfunction(){if(V)return V;var =
a=3DR(),b=3DT(a,3);if(gb(b,P))return V=3Dyc(a,new P(1,2));return =
V=3Db},Ac=3Dfunction(){zc||(zc=3Dtc(W()));return zc};var =
Bc=3D{google:1,googlegroups:1,gmail:1,googlemail:1,googleimages:1,googlep=
rint:1};function =
Cc(a){a=3Da.google_page_location||a.google_page_url;if(!a)return =
j;a=3Da.toString();if(a.indexOf("http://")=3D=3D0)a=3Da.substring(7,a.len=
gth);else =
if(a.indexOf("https://")=3D=3D0)a=3Da.substring(8,a.length);var =
b=3Da.indexOf("/");if(b=3D=3D-1)b=3Da.length;a=3Da.substring(0,b);a=3Da.s=
plit(".");b=3Dj;if(a.length>=3D3)b=3Da[a.length-3]in =
Bc;if(a.length>=3D2)b=3Db||a[a.length-2]in Bc;return b}=0A=
function Dc(a,b,c){var =
d=3DR();if(Cc(a))return!U(d,2,h);if(!T(d,2)){a=3DMath.random();if(a<=3Dc)=
{c=3D"http://"+ja()+"/pagead/test_domain.js";a=3D"script";b.write("<"+a+'=
src=3D"'+c+'">'+a+">");return U(d,2,h)}}return j}var =
Ec=3Dfunction(a){var b=3DW();if(b.g(1)=3D=3D"44901216")return =
1=3D=3DMath.floor(a/2)%2;return j};function Fc(a){var =
b=3DR();if(!Cc(a)&&xc(b))return =
Ec(T(b,13))?"http://"+r("","googleads2.g.doubleclick.net"):"http://"+ja()=
;return"http://"+ka()};var =
X=3Dfunction(a){this.B=3Da;this.j=3D[];this.i=3D0;this.b=3D[];this.u=3D0;=
this.c=3D[];this.s=3Dj;this.k=3Dthis.l=3D"";this.r=3Dj};X.prototype.w=3Df=
unction(a,b){var =
c=3Dthis.B[b],d=3Dthis.j;this.B[b]=3Dfunction(e){if(e&&e.length>0){var =
f=3De.length>1?e[1].url:i;d.push([a,xa(e[0].url),f])}c(e)}};X.prototype.v=
=3Dfunction(){this.i++};X.prototype.z=3Dfunction(a){this.b.push(a)};var =
Gc=3D"http://"+s()+"/pagead/osd.js";X.prototype.t=3Dfunction(){if(!this.s=
){jb(B,Hc);ib(Gc);this.s=3Dh}};=0A=
X.prototype.m=3Dfunction(a){if(this.i>0)for(var =
b=3Ddocument.getElementsByTagName("iframe"),c=3Dthis.r?"google_ads_iframe=
_":"google_ads_frame",d=3D0;d0)for(var =
c=3Ddocument.getElementsByTagName("a"),d=3D0;d0){f=3Dg;break}g=3Dg=
.parentNode}a(f,b[e][0]);b.splice(e,1);break}};X.prototype.o=3Dfunction(a=
){for(var b=3D0;b0){f=
or(var =
d=3D0;d1)c=3Da[0];return =
ya(c,"\"'")},Oc=3D/[^\d]+$/,Pc=3Dfunction(a){return(a=3Da.match(Oc))&&a[0=
]||i},Qc=3D{cm:1,"in":1,mm:1,pc:1,pt:1},Rc=3D{em:1,ex:1},Sc=3Dfunction(a)=
{var b=3DLc(a,"fontSize"),c=3DPc(b);if(b&&"px"=3D=3Dc)return =
parseInt(b,10);if(z)if(c in Qc)return Mc(a,b,"left",=0A=
"pixelLeft");else if(a.parentNode&&a.parentNode.nodeType=3D=3D1&&c in =
Rc){a=3Da.parentNode;c=3DLc(a,"fontSize");return =
Mc(a,b=3D=3Dc?"1em":b,"left","pixelLeft")}c=3Dbb("span",{style:"visibilit=
y:hidden;position:absolute;line-height:0;padding:0;margin:0;border:0;heig=
ht:1em;"});db(a,c);b=3Dc.offsetHeight;c&&c.parentNode&&c.parentNode.remov=
eChild(c);return b};var Y=3D{};function Tc(a){if(a=3D=3D1)return =
h;return!Y[a]}function =
Uc(a,b){if(!(!a||a=3D=3D""))if(b=3D=3D1)if(Y[b])Y[b]+=3D","+a;else =
Y[b]=3Da;else Y[b]=3Da}function Vc(){var =
a=3D[];D(Y,function(b){a.push(b)});return a.join(",")}function =
Wc(a,b){if(m(a))for(var c=3D0;c'+c+">");a=3DDc(a,b,Jb=
);(d=3Dd||a)&&lb("msie")&&!window.opera?b.write("<"+c+' =
src=3D"http://'+s()+'/pagead/render_ads.js">'+c+">"):b.write("<"+c+'>go=
ogle_protectAndRun("ads_core.google_render_ad", google_handleError, =
google_render_ad);'+c+">")}function $(a){return a!=3Di?'"'+a+'"':'""'}=0A=
var $c=3Dfunction(a,b){var =
c=3Db.slice(-1),d=3Dc=3D=3D"?"||c=3D=3D"#"?"":"&",e=3D[b];b=3Dfunction(f,=
g){if(f||f=3D=3D=3D0||f=3D=3D=3Dj){if(typeof =
f=3D=3D"boolean")f=3Df?1:0;hb(e,d,g,"=3D",E(f));d=3D"&"}};D(a,b);return =
e.join("")};function ad(){var =
a=3Dz&&A("6"),b=3DKa&&A("1.8.1"),c=3DLa&&A("525");if(Ra&&(a||b||c))return=
h;else if(Qa&&(c||b))return h;else if(Sa&&b)return h;return j}=0A=
function Zc(){return(typeof =
ExpandableAdSlotFactory=3D=3D"function"||typeof =
ExpandableAdSlotFactory=3D=3D"object")&&typeof =
ExpandableAdSlotFactory.createIframe=3D=3D"function"}function =
Yc(a,b){if(a.google_allow_expandable_ads=3D=3D=3Dj||!b.body||a.google_ad_=
output!=3D"html"||wb(a,b)||!bd(a)||isNaN(a.google_ad_height)||isNaN(a.goo=
gle_ad_width)||!ad())return j;return h}function bd(a){var =
b=3Da.google_ad_format;if(G(b))return =
j;if(F(a)&&b!=3D"468x15_0ads_al")return j;return h}=0A=
function cd(){var =
a;if(B.google_ad_output=3D=3D"html"&&!(F(B)||G(B.google_ad_format))&&Tc(0=
)){a=3D["6083035","6083034"];a=3DH(a,Ob);Uc(a,0)}return =
a=3D=3D"6083035"}function dd(a,b){var =
c=3DR();if(T(c,13)>0||G(a.google_ad_format))return"";c=3D"";a=3DF(a);if(b=
=3D=3D"html"||a)c=3DH(["36815001","36815002"],Kb);if(c=3D=3D""&&(b=3D=3D"=
js"||a))c=3DH(["36815003","36815004"],Lb);if(c=3D=3D""&&(b=3D=3D"html"||b=
=3D=3D"js"))c=3DH(["36813005","36813006"],Mb);return c}=0A=
function ed(){var =
a=3DJc(),b=3Dwindow.google_enable_osd,c;if(b=3D=3D=3Dh){c=3D"36813006";fd=
(c,a)}else =
if(b!=3D=3Dj&&Tc(0)){c=3Da.getEid();if(c=3D=3D"")(c=3Ddd(window,window.go=
ogle_ad_output))&&fd(c,a);else =
if(c!=3D"36815001"&&c!=3D"36815002"&&c!=3D"36815003"&&c!=3D"36815004"&&c!=
=3D"36813005"&&c!=3D"36813006")c=3D""}if(c){Uc(c,0);return c}return""}=0A=
function fd(a,b){var c=3Db.getOsdMode(),d=3D[];switch(a){case =
"36815004":c=3D1;d=3D["js"];break;case =
"36815002":c=3D1;d=3D["html"];break;case =
"36813006":c=3D0;d=3D["html","js"];break}d.length>0&&b.setValidOutputType=
s(d);d=3DR();b.setupOsd(c,a,T(d,7).toString())}=0A=
function gd(a,b,c,d){var =
e=3DR();e=3DU(e,13,T(e,13)+1);c=3D$c({ifi:e},c);c=3Dc.substring(0,1992);c=
=3Dc.replace(/%\w?$/,"");var =
f=3D"script";if((a.google_ad_output=3D=3D"js"||a.google_ad_output=3D=3D"j=
son_html")&&(a.google_ad_request_done||a.google_radlink_request_done))b.w=
rite("<"+f+' language=3D"JavaScript1.1" =
src=3D'+$(ba(c))+">"+f+">");else =
if(a.google_ad_output=3D=3D"html")if(Z&&Zc()){b=3Da.google_container_id||=
d||i;a["google_expandable_ad_slot"+e]=3DExpandableAdSlotFactory.createIfr=
ame("google_ads_frame"+e,ba(c),a.google_ad_width,=0A=
a.google_ad_height,b)}else{d=3D'';a.google_container_id?hd(a.google_container_i=
d,b,d):b.write(d)}return c}function id(a){ac(a)}=0A=
function jd(a){var b=3DAc().g(2)=3D=3D"44901217";if(!kd(b))return =
j;b=3Dcd();var =
c=3DFc(window);a=3Dld(a);b=3Dc+md(a.google_ad_format,b);window.google_ad_=
url=3D$c(a,b);return h}=0A=
var pd=3Dfunction(a){a.dt=3Daa;a.shv=3D"r20100325";var =
b=3DR(),c=3DT(b,8),d=3Dwindow.google_ad_section,e=3Dwindow.google_ad_form=
at,f=3Dwindow.google_ad_slot;if(c[d])G(e)||(a.prev_fmts=3Dc[d]);var =
g=3DT(b,9);if(g[d])a.prev_slotnames=3Dg[d].toLowerCase();if(e){if(!G(e))i=
f(c[d])c[d]+=3D","+e;else c[d]=3De}else if(f)if(g[d])g[d]+=3D","+f;else =
g[d]=3Df;a.correlator=3DT(b,7);if(T(b,2)&&!xc(b))a.dblk=3D1;if(window.goo=
gle_ad_channel){c=3DT(b,10);d=3D"";e=3Dwindow.google_ad_channel.split(nd)=
;for(f=3D0;f-1){for(=
e=3D0;e0&&b.length>0)a.eid+=3D",";a.eid+=3Db};funct=
ion xd(a,b,c,d){a=3DUb(a,b,c,d);Xc(window,document);return a}function =
yd(){$b()}=0A=
function zd(a){var =
b=3D{};a=3Da.split("?");a=3Da[a.length-1].split("&");for(var =
c=3D0;c 1?wind=
ow.decodeURIComponent?decodeURIComponent(d[1].replace(/\+/g," =
")):unescape(d[1]):""}catch(e){}}return b}function Ad(){var =
a=3Dwindow,b=3Dzd(document.URL);if(b.google_ad_override){a.google_ad_over=
ride=3Db.google_ad_override;a.google_adtest=3D"on"}}=0A=
function =
hd(a,b,c){if(a)if((a=3Db.getElementById(a))&&c&&c.length!=3D""){a.style.v=
isibility=3D"visible";a.innerHTML=3Dc}}=0A=
var md=3Dfunction(a,b){return =
a=3DG(a)?"/pagead/sdo?":b?"/pagead/render_iframe_ads.html#":"/pagead/ads?=
"},Bd=3Dfunction(a,b){b.dff=3DNc(a);b.dfs=3DSc(a)},Cd=3Dfunction(a){a.ref=
=3Dwindow.google_referrer_url;a.loc=3Dwindow.google_page_location},kd=3Df=
unction(a){var =
b=3DR(),c=3DT(b,8),d=3DT(b,9),e=3Dwindow.google_ad_section;if(G(window.go=
ogle_ad_format)){if(U(b,4,T(b,4)+1)>4&&!a)return j}else =
if(F(window)){if(U(b,5,T(b,5)+1)>3&&!a)return j}else{var =
f=3DU(b,6,T(b,6)+1);if(window.google_num_slots_to_rotate){Wb(1);c[e]=3D""=
;d[e]=3D"";=0A=
T(b,12)||U(b,12,(new =
Date).getTime()%window.google_num_slots_to_rotate+1);if(T(b,12)!=3Df)retu=
rn j}else if(!a&&f>6&&e=3D=3D"")return j}return h},ld=3Dfunction(a){var =
b=3D{};vd(b);pd(b);ob(b);a&&Bd(a,b);qd(b);rd(b);wd(b);Cd(b);b.fu=3DVb;ret=
urn b},ud=3Dfunction(a){var =
b=3Dwindow.google_container_id&&Xa(window.google_container_id)||Xa(a);if(=
!b&&!window.google_container_id&&a){document.write(" ");b=3DXa(a)}return b},nd=3D/[+, =
]/;window.google_render_ad=3Dtd;function Dd(){if(Rb&&typeof =
B.alternateShowAds=3D=3D"function")B.alternateShowAds.call(i);else{Ad();S=
b("show_ads.google_init_globals",xd,yd);Xc(window,document)}}Sb("show_ads=
.main",Ub,Dd);})()=0A=
------=_NextPart_000_0000_01CAD4A5.2B968EA0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://cdn.physorg.com/tmpl/default/js/slider.js
// Title: tigra slider control=0A=
// Description: See the demo at url=0A=
// URL: http://www.softcomplex.com/products/tigra_slider_control/=0A=
// Version: 1.0 (commented source)=0A=
// Date: 02/15/2006=0A=
// Tech. Support: http://www.softcomplex.com/forum/=0A=
// Notes: This script is free. Visit official site for further details.=0A=
=0A=
function slider (a_init, a_tpl) {=0A=
=0A=
this.f_setValue =3D f_sliderSetValue;=0A=
this.f_getPos =3D f_sliderGetPos;=0A=
=0A=
// register in the global collection =0A=
if (!window.A_SLIDERS)=0A=
window.A_SLIDERS =3D [];=0A=
this.n_id =3D window.A_SLIDERS.length;=0A=
window.A_SLIDERS[this.n_id] =3D this;=0A=
=0A=
// save config parameters in the slider object=0A=
var s_key;=0A=
if (a_tpl)=0A=
for (s_key in a_tpl)=0A=
this[s_key] =3D a_tpl[s_key];=0A=
for (s_key in a_init)=0A=
this[s_key] =3D a_init[s_key];=0A=
=0A=
this.n_pix2value =3D this.n_pathLength / (this.n_maxValue - =
this.n_minValue);=0A=
if (this.n_value =3D=3D null)=0A=
this.n_value =3D this.n_minValue;=0A=
=0A=
// generate the control's HTML=0A=
document.write(=0A=
'' +=0A=
'
'=0A=
);=0A=
this.e_base =3D get_element('sl' + this.n_id + 'base');=0A=
this.e_slider =3D get_element('sl' + this.n_id + 'slider');=0A=
=0A=
// safely hook document/window events=0A=
if (document.onmousemove !=3D f_sliderMouseMove) {=0A=
window.f_savedMouseMove =3D document.onmousemove;=0A=
document.onmousemove =3D f_sliderMouseMove;=0A=
}=0A=
if (document.onmouseup !=3D f_sliderMouseUp) {=0A=
window.f_savedMouseUp =3D document.onmouseup;=0A=
document.onmouseup =3D f_sliderMouseUp;=0A=
}=0A=
// preset to the value in the input box if available=0A=
var e_input =3D this.s_form =3D=3D null=0A=
? get_element(this.s_name)=0A=
: document.forms[this.s_form]=0A=
? document.forms[this.s_form].elements[this.s_name]=0A=
: null;=0A=
this.f_setValue(e_input && e_input.value !=3D '' ? e_input.value : =
null, 1);=0A=
this.e_slider.style.visibility =3D 'visible';=0A=
}=0A=
=0A=
function f_sliderSetValue (n_value, b_noInputCheck) {=0A=
if (n_value =3D=3D null)=0A=
n_value =3D this.n_value =3D=3D null ? this.n_minValue : this.n_value;=0A=
if (isNaN(n_value))=0A=
return false;=0A=
// round to closest multiple if step is specified=0A=
if (this.n_step)=0A=
n_value =3D Math.round((n_value - this.n_minValue) / this.n_step) * =
this.n_step + this.n_minValue;=0A=
// smooth out the result=0A=
if (n_value % 1)=0A=
n_value =3D Math.round(n_value * 1e5) / 1e5;=0A=
=0A=
if (n_value < this.n_minValue)=0A=
n_value =3D this.n_minValue;=0A=
if (n_value > this.n_maxValue)=0A=
n_value =3D this.n_maxValue;=0A=
=0A=
this.n_value =3D n_value;=0A=
=0A=
// move the slider=0A=
if (this.b_vertical)=0A=
this.e_slider.style.top =3D (this.n_pathTop + this.n_pathLength - =
Math.round((n_value - this.n_minValue) * this.n_pix2value)) + 'px';=0A=
else=0A=
this.e_slider.style.left =3D (this.n_pathLeft + Math.round((n_value - =
this.n_minValue) * this.n_pix2value)) + 'px';=0A=
=0A=
// save new value=0A=
var e_input;=0A=
if (this.s_form =3D=3D null) {=0A=
e_input =3D get_element(this.s_name);=0A=
if (!e_input)=0A=
return b_noInputCheck ? null : f_sliderError(this.n_id, "Can not find =
the input with ID=3D'" + this.s_name + "'.");=0A=
}=0A=
else {=0A=
var e_form =3D document.forms[this.s_form];=0A=
if (!e_form)=0A=
return b_noInputCheck ? null : f_sliderError(this.n_id, "Can not find =
the form with NAME=3D'" + this.s_form + "'.");=0A=
e_input =3D e_form.elements[this.s_name];=0A=
if (!e_input)=0A=
return b_noInputCheck ? null : f_sliderError(this.n_id, "Can not find =
the input with NAME=3D'" + this.s_name + "'.");=0A=
}=0A=
e_input.value =3D n_value;=0A=
}=0A=
=0A=
// get absolute position of the element in the document=0A=
function f_sliderGetPos (b_vertical, b_base) {=0A=
var n_pos =3D 0,=0A=
s_coord =3D (b_vertical ? 'Top' : 'Left');=0A=
var o_elem =3D o_elem2 =3D b_base ? this.e_base : this.e_slider;=0A=
=0A=
while (o_elem) {=0A=
n_pos +=3D o_elem["offset" + s_coord];=0A=
o_elem =3D o_elem.offsetParent;=0A=
}=0A=
o_elem =3D o_elem2;=0A=
=0A=
var n_offset;=0A=
while (o_elem.tagName !=3D "BODY") {=0A=
n_offset =3D o_elem["scroll" + s_coord];=0A=
if (n_offset)=0A=
n_pos -=3D o_elem["scroll" + s_coord];=0A=
o_elem =3D o_elem.parentNode;=0A=
}=0A=
return n_pos;=0A=
}=0A=
=0A=
function f_sliderMouseDown (n_id) {=0A=
window.n_activeSliderId =3D n_id;=0A=
return false;=0A=
}=0A=
=0A=
function f_sliderMouseUp (e_event, b_watching) {=0A=
if (window.n_activeSliderId !=3D null) {=0A=
var o_slider =3D window.A_SLIDERS[window.n_activeSliderId];=0A=
o_slider.f_setValue(o_slider.n_minValue + (o_slider.b_vertical=0A=
? (o_slider.n_pathLength - parseInt(o_slider.e_slider.style.top) + =
o_slider.n_pathTop)=0A=
: (parseInt(o_slider.e_slider.style.left) - o_slider.n_pathLeft)) / =
o_slider.n_pix2value);=0A=
if (b_watching) return;=0A=
window.n_activeSliderId =3D null;=0A=
}=0A=
if (window.f_savedMouseUp)=0A=
return window.f_savedMouseUp(e_event);=0A=
}=0A=
=0A=
function f_sliderMouseMove (e_event) {=0A=
=0A=
if (!e_event && window.event) e_event =3D window.event;=0A=
=0A=
// save mouse coordinates=0A=
if (e_event) {=0A=
window.n_mouseX =3D e_event.clientX + f_scrollLeft();=0A=
window.n_mouseY =3D e_event.clientY + f_scrollTop();=0A=
}=0A=
=0A=
// check if in drag mode=0A=
if (window.n_activeSliderId !=3D null) {=0A=
var o_slider =3D window.A_SLIDERS[window.n_activeSliderId];=0A=
=0A=
var n_pxOffset;=0A=
if (o_slider.b_vertical) {=0A=
var n_sliderTop =3D window.n_mouseY - o_slider.n_sliderHeight / 2 - =
o_slider.f_getPos(1, 1) - 3;=0A=
// limit the slider movement=0A=
if (n_sliderTop < o_slider.n_pathTop)=0A=
n_sliderTop =3D o_slider.n_pathTop;=0A=
var n_pxMax =3D o_slider.n_pathTop + o_slider.n_pathLength;=0A=
if (n_sliderTop > n_pxMax)=0A=
n_sliderTop =3D n_pxMax;=0A=
o_slider.e_slider.style.top =3D n_sliderTop + 'px';=0A=
n_pxOffset =3D o_slider.n_pathLength - n_sliderTop + =
o_slider.n_pathTop;=0A=
}=0A=
else {=0A=
var n_sliderLeft =3D window.n_mouseX - o_slider.n_sliderWidth / 2 - =
o_slider.f_getPos(0, 1) - 3;=0A=
// limit the slider movement=0A=
if (n_sliderLeft < o_slider.n_pathLeft)=0A=
n_sliderLeft =3D o_slider.n_pathLeft;=0A=
var n_pxMax =3D o_slider.n_pathLeft + o_slider.n_pathLength;=0A=
if (n_sliderLeft > n_pxMax)=0A=
n_sliderLeft =3D n_pxMax;=0A=
o_slider.e_slider.style.left =3D n_sliderLeft + 'px';=0A=
n_pxOffset =3D n_sliderLeft - o_slider.n_pathLeft;=0A=
}=0A=
if (o_slider.b_watch)=0A=
f_sliderMouseUp(e_event, 1);=0A=
=0A=
return false;=0A=
}=0A=
=0A=
if (window.f_savedMouseMove)=0A=
return window.f_savedMouseMove(e_event);=0A=
}=0A=
=0A=
// get the scroller positions of the page=0A=
function f_scrollLeft() {=0A=
return f_filterResults (=0A=
window.pageXOffset ? window.pageXOffset : 0,=0A=
document.documentElement ? document.documentElement.scrollLeft : 0,=0A=
document.body ? document.body.scrollLeft : 0=0A=
);=0A=
}=0A=
function f_scrollTop() {=0A=
return f_filterResults (=0A=
window.pageYOffset ? window.pageYOffset : 0,=0A=
document.documentElement ? document.documentElement.scrollTop : 0,=0A=
document.body ? document.body.scrollTop : 0=0A=
);=0A=
}=0A=
function f_filterResults(n_win, n_docel, n_body) {=0A=
var n_result =3D n_win ? n_win : 0;=0A=
if (n_docel && (!n_result || (n_result > n_docel)))=0A=
n_result =3D n_docel;=0A=
return n_body && (!n_result || (n_result > n_body)) ? n_body : n_result;=0A=
}=0A=
=0A=
function f_sliderError (n_id, s_message) {=0A=
alert("Slider #" + n_id + " Error:\n" + s_message);=0A=
window.n_activeSliderId =3D null;=0A=
}=0A=
=0A=
get_element =3D document.all ?=0A=
function (s_id) { return document.all[s_id] } :=0A=
function (s_id) { return document.getElementById(s_id) };=0A=
=0A=
------=_NextPart_000_0000_01CAD4A5.2B968EA0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.physorg.com/js/comments.js
var lastCMT =3D '';
function UpdateFilter(val){
fltthres =3D val;
if (fltthres > 0 ) $('SliderFilter').innerHTML =3D ': ' + val;
else $('SliderFilter').innerHTML =3D ': Off';
DisplayComments();
}=20
=20
=20
function DisplayComments(){
ajax =3D new Ajax.Updater('comments', =
'/comments/?code=3DVIEW&format=3Dhtml&newsid=3D'+nid+'&sort=3D'+sort+'&fi=
lter=3D'+fltthres, {
method: 'get',
onCreate: function() {if ( $('cmThr') ) $('cmThr').innerHTML =3D =
updIMG;},
onComplete: function() {if ( $('cmThr') ) $('cmThr').innerHTML =
=3D '';}
});
PostBox();
}=09
function ChangeSort(){
sortTXT =3D '';
if (sort =3D=3D 'ASC') {
sort =3D 'DESC';
sortTXT =3D 'oldest first';
}
else{
sort =3D 'ASC';
sortTXT =3D 'newest first';
}
=09
DisplayComments();
$('sortCmnt').innerHTML =3D sortTXT;
}
function PostBox(){
var pstbx =3D '';
var lgbox =3D '' +
'
Please register =
or sign in to add a =
comment. ' +
'Registration is free, and takes less than a minute. Read more
' +
'
'+
'Sign in with
' +
'
' + =09
'Forgot your password?
Click =
here to reset it.
' +
'Notify me via email of follow-up comments posted here ' +
'' +=20
'
';
=09
if (mid !=3D '0') {
document.getElementById('postbox').innerHTML =3D pstbx;
document.commadd.nid.value =3D nid;
if (follow =3D=3D 'on') { document.commadd.commentfollow.innerHTML =
=3D 'unsubscribe'; }
}
else {
document.getElementById('postbox').innerHTML =3D lgbox;
}
}
function SignIn(formName, handler){
var email =3D formName.email.value;
if ( email.length =3D=3D 0 ){ ShowAlert('Please enter your email!'); =
return }
var passwd =3D formName.passwd.value;
if ( passwd.length =3D=3D 0 ){ ShowAlert('Please enter your =
password!'); return } =09
var queryString =3D 'email=3D' + escape(email) + '&passwd=3D' + passwd =
+ '&status=3Dlogin';
ajax =3D new Ajax.Request('/comments/',{
method: 'post',
parameters: queryString,
onCreate: function(){$('cmPrThr').innerHTML =3D updIMG;},
onSuccess: handler
});
}=20
// comment handling
function AddComment(){
var cmnt =3D document.commadd.commenttext.value;
if ( cmnt.length =3D=3D 0 ){ ShowAlert('Please enter your comment'); =
return }
if ( cmnt.length > 1000 ){ ShowAlert('Comment text too long'); return =
}
var nid =3D document.commadd.nid.value;
var cid =3D document.commadd.cid.value;
var status =3D document.commadd.status.value; =20
lastCMT =3D cmnt;
var queryString =3D 'commenttext=3D' + escape(cmnt) + '&nid=3D' + nid =
+ '&status=3D' + status +'&cid=3D' + cid + '&sort=3D' + sort;
submit =3D new Ajax.Request('/comments/', {
method: 'post',
parameters: queryString,
onCreate: function(){
document.commadd.commentsubmit.disabled =3D true;
$('cmPrThr').innerHTML =3D updIMG;
},
onSuccess: function(respXML){
response =3D respXML.responseXML.documentElement;
if (response.getElementsByTagName('msg')[0].firstChild !=3D =
null) =
ShowAlert(response.getElementsByTagName('msg')[0].firstChild.data);
DisplayComments();
// put back last text if there was an error
if (response.getElementsByTagName('msg')[0].firstChild !=3D =
null) {
document.commadd.commenttext.value =3D lastCMT;
lastCMT =3D '';
}
// jump to first
else if (sort =3D=3D 'DESC') new Effect.ScrollTo('comments', =
{ duration: 1.0, offset: -160 });
} =09
=20
});
}
// comment editing
function GetComment(cid){
ajax =3D new Ajax.Request('/comments/?code=3DCOM&cid=3D'+cid,
{
method: 'get',
onCreate: function(){ $('cmPrThr').innerHTML =3D updIMG;
new Effect.ScrollTo('postbox', { duration: 0.5 });
},
onComplete: function() {$('cmPrThr').innerHTML =3D '';},
onSuccess: function(xmlDoc){
response =3D xmlDoc.responseXML.documentElement;
=09
if (response.getElementsByTagName('code')[0].firstChild.data =
=3D=3D '300') {
=
ShowAlert(response.getElementsByTagName('msg')[0].firstChild.data);
return ;
}
var commentTEXT =3D =
response.getElementsByTagName('comment')[0].getElementsByTagName("text")[=
0].firstChild.data;
//document.getElementById('addtitle').innerHTML =3D 'Edit =
comment';
$('addtitle').innerHTML =3D 'Edit comment';
document.commadd.cid.value =3D cid;
document.commadd.status.value =3D'edit';
document.commadd.commentsubmit.value=3D'Edit';
document.commadd.commenttext.value =3D commentTEXT;
}
});
}
function CommentReset(cid){
$('addtitle').innerHTML =3D 'New comment';=09
document.commadd.commenttext.value =3D '';=20
document.commadd.status.value =3D'New';
document.commadd.cid.value =3D '0';
document.commadd.commentsubmit.value=3D'Add Comment';=09
document.commadd.reset;
}
function ShowComment(cid){
ajax =3D new =
Ajax.Request('/comments/?code=3DCOM&format=3Dhtml&cid=3D'+cid, {
method: 'get',
onSuccess: function(xmlDoc){
response =3D xmlDoc.responseXML.documentElement;
cmTXT =3D =
response.getElementsByTagName('comment')[0].getElementsByTagName("text")[=
0].firstChild.data;
if (cmTXT !=3D ''){
$('cm_'+cid).className =3D '';
$('cm_'+cid).innerHTML =3D cmTXT;
}
}
});
}
//comment quoting
function QuoteComment(cid){
ajax =3D new Ajax.Request('/comments/?code=3DCOM&cid=3D'+cid, {
method: 'get',
onCreate: function() {$('cmPrThr').innerHTML =3D updIMG;},
onComplete: function() {$('cmPrThr').innerHTML =3D '';},
onSuccess: function(xmlDoc){
response =3D xmlDoc.responseXML.documentElement;
cmTXT =3D =
response.getElementsByTagName('comment')[0].getElementsByTagName("text")[=
0].firstChild.data;
if (cmTXT !=3D '') {
document.commadd.commenttext.value =3D '[q]' + cmTXT + =
'[/q]\r\n' + document.commadd.commenttext.value;
new Effect.ScrollTo('postbox', { duration: 0.5 });
}
}
});
}
=09
=09
=09
// Rank handling=20
function RateComment(cid, rank){
=09
ajax =3D new =
Ajax.Request('/comments/?code=3DRATE&cid=3D'+cid+'&rank=3D'+rank, {
method: 'get',
onCreate: function(){$('rate-' + cid).hide();
$('rk-' + cid).innerHTML =3D updIMG;=09
},
onSuccess: DisplayRank
});
} =20
function DisplayRank(xmlDoc){
response =3D xmlDoc.responseXML.documentElement; =20
if (response.getElementsByTagName('msg')[0].firstChild !=3D null) {
ShowAlert(response.getElementsByTagName('msg')[0].firstChild.data);
return;
}
var cid =3D =
response.getElementsByTagName('comment')[0].getElementsByTagName('cid')[0=
].firstChild.data;
var rank=3D =
response.getElementsByTagName('comment')[0].getElementsByTagName('rank')[=
0].firstChild.data;=09
var votes=3D =
response.getElementsByTagName('comment')[0].getElementsByTagName('votes')=
[0].firstChild.data;=09
$('rk-' + cid).innerHTML =3D FormatRank(rank, votes);=20
=09
}
// fstlog
function SignInComments(xmlDoc){
response =3D xmlDoc.responseXML.documentElement; =09
=09
if (response.getElementsByTagName('msg')[0].firstChild !=3D null) {
ShowAlert(response.getElementsByTagName('msg')[0].firstChild.data);
return;
} =20
if (response.getElementsByTagName('mid')[0].firstChild !=3D null) {
mid =3D response.getElementsByTagName('mid')[0].firstChild.data;
}=09
DisplayComments(); =20
PostBox();
}
// flag comment
function FlagComment(cid){
var alertBox =3D 'Report this comment as spam, offensive or =
inappropriate?'+
' ' +
'report ';
ShowAlert(alertBox,'Thank you. Moderator will review your report and =
remove this post if inappropriate.');=20
}
function SendFlag(cid){
ajax =3D new Ajax.Request('/comments/?code=3DFLAG&cid=3D' + cid, {
method: 'get',
onSuccess: function(xmlDoc){
response =3D xmlDoc.responseXML.documentElement; =20
if (response.getElementsByTagName('msg')[0].firstChild !=3D =
null) {
=
ShowAlert(response.getElementsByTagName('msg')[0].firstChild.data);
}
}
=09
});
}
// follow comments
function FollowComments(){
var queryString =3D 'status=3Dfollow' +'&nid=3D' + nid;
ajax =3D new Ajax.Request(
'/comments/', {
method: 'post',
parameters: queryString,
onCreate: function() {$('cmPrThr').innerHTML =3D updIMG;},
onComplete: function() {$('cmPrThr').innerHTML =3D '';},
onSuccess : FollowAdd
});
}
function FollowAdd(xmlDoc){
response =3D xmlDoc.responseXML.documentElement; =20
=09
if (response.getElementsByTagName('code')[0].firstChild.data =3D=3D =
'200'){
document.commadd.commentfollow.innerHTML =3D 'unsubscribe';
follow =3D 'on';
}
if (response.getElementsByTagName('code')[0].firstChild.data =3D=3D =
'300'){
document.commadd.commentfollow.innerHTML =3D 'subscribe';
follow =3D '';
}
if (response.getElementsByTagName('code')[0].firstChild.data =3D=3D =
'400') ShowAlert('Sorry, your request can\'t be processed');
}
// max comment length
function maxLength(textarea, maxLen){
if (textarea.value.length > maxLen) textarea.value =3D =
textarea.value.substring(0,maxLen);
document.getElementById('cmChCnt').innerHTML =3D (maxLen - =
textarea.value.length);
}
// supplemental
function FormatRank(rank, votes){
if (rank =3D=3D 0) return 'not rated yet';
var txt =3D rank + '/5 after ' + votes;
if ( votes > 1 ) return txt + ' votes';
else return txt + ' vote';
}
function hideVoting(divID) {=20
if (document.getElementById) {=20
document.getElementById(divID).style.visibility =3D 'hidden';=20
}=20
else {=20
if (document.layers) { // Netscape 4=20
document.divID.visibility =3D 'hidden';=20
}=20
else { // IE 4=20
document.all.divID.style.visibility =3D 'hidden';=20
}=20
}=20
}
------=_NextPart_000_0000_01CAD4A5.2B968EA0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.physorg.com/func/flv/swfobject.js
/**=0A=
* SWFObject v1.5: Flash Player detection and embed - =
http://blog.deconcept.com/swfobject/=0A=
*=0A=
* SWFObject is (c) 2007 Geoff Stearns and is released under the MIT =
License:=0A=
* http://www.opensource.org/licenses/mit-license.php=0A=
*=0A=
*/=0A=
if(typeof deconcept=3D=3D"undefined"){var deconcept=3Dnew =
Object();}if(typeof =
deconcept.util=3D=3D"undefined"){deconcept.util=3Dnew =
Object();}if(typeof =
deconcept.SWFObjectUtil=3D=3D"undefined"){deconcept.SWFObjectUtil=3Dnew =
Object();}deconcept.SWFObject=3Dfunction(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!=
document.getElementById){return;}this.DETECT_KEY=3D_a?_a:"detectflash";th=
is.skipDetect=3Ddeconcept.util.getRequestParameter(this.DETECT_KEY);this.=
params=3Dnew Object();this.variables=3Dnew =
Object();this.attributes=3Dnew =
Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id"=
,id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height=
",h);}if(_5){this.setAttribute("version",new =
deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=3Dd=
econcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&=
&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=3Dtrue;}if(c=
){this.addParam("bgcolor",c);}var =
q=3D_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpress=
Install",false);this.setAttribute("doExpressInstall",false);var =
_c=3D(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.s=
etAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);=
}};deconcept.SWFObject.prototype=3D{useExpressInstall:function(_d){this.x=
iSWFPath=3D!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInsta=
ll",true);},setAttribute:function(_e,_f){this.attributes[_e]=3D_f;},getAt=
tribute:function(_10){return =
this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=3D_12;=
},getParams:function(){return =
this.params;},addVariable:function(_13,_14){this.variables[_13]=3D_14;},g=
etVariable:function(_15){return =
this.variables[_15];},getVariables:function(){return =
this.variables;},getVariablePairs:function(){var _16=3Dnew Array();var =
key;var _18=3Dthis.getVariables();for(key in =
_18){_16[_16.length]=3Dkey+"=3D"+_18[key];}return =
_16;},getSWFHTML:function(){var =
_19=3D"";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.l=
ength){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplay=
erType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19=3D"0){_19+=3D"flashvar=
s=3D\""+_1c+"\"";}_19+=3D"/>";}else{if(this.getAttribute("doExpressInstal=
l")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",t=
his.xiSWFPath);}_19=3D"";_19+=3D" ";var =
_1d=3Dthis.getParams();for(var key in _1d){_19+=3D" ";}var =
_1f=3Dthis.getVariablePairs().join("&");if(_1f.length>0){_19+=3D" ";}_19+=3D" ";}return =
_19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var =
_21=3Dnew =
deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21=
)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.=
setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",es=
cape(this.getAttribute("xiRedirectUrl")));document.title=3Ddocument.title=
.slice(0,47)+" - Flash Player =
Installation";this.addVariable("MMdoctitle",document.title);}}if(this.ski=
pDetect||this.getAttribute("doExpressInstall")||this.installedVer.version=
IsValid(this.getAttribute("version"))){var n=3D(typeof =
_20=3D=3D"string")?document.getElementById(_20):_20;n.innerHTML=3Dthis.ge=
tSWFHTML();return =
true;}else{if(this.getAttribute("redirectUrl")!=3D""){document.location.r=
eplace(this.getAttribute("redirectUrl"));}}return =
false;}};deconcept.SWFObjectUtil.getPlayerVersion=3Dfunction(){var =
_23=3Dnew =
deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeType=
s.length){var x=3Dnavigator.plugins["Shockwave =
Flash"];if(x&&x.description){_23=3Dnew =
deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replac=
e(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&nav=
igator.userAgent.indexOf("Windows CE")>=3D0){var axo=3D1;var =
_26=3D3;while(axo){try{_26++;axo=3Dnew =
ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=3Dnew =
deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=3Dnull;}}}else{try{var =
axo=3Dnew =
ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var =
axo=3Dnew ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=3Dnew =
deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess=3D"always";}catch=
(e){if(_23.major=3D=3D6){return _23;}}try{axo=3Dnew =
ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=3Dnull=
){_23=3Dnew deconcept.PlayerVersion(axo.GetVariable("$version").split(" =
")[1].split(","));}}}return =
_23;};deconcept.PlayerVersion=3Dfunction(_29){this.major=3D_29[0]!=3Dnull=
?parseInt(_29[0]):0;this.minor=3D_29[1]!=3Dnull?parseInt(_29[1]):0;this.r=
ev=3D_29[2]!=3Dnull?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototyp=
e.versionIsValid=3Dfunction(fv){if(this.majorfv.major){return =
true;}if(this.minorfv.minor){return true;}if(this.rev=3D0;i--){_2f[i].style.display=3D"none";for(var x in =
_2f[i]){if(typeof =
_2f[i][x]=3D=3D"function"){_2f[i][x]=3Dfunction(){};}}}};if(deconcept.SWF=
Object.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.pre=
pUnload=3Dfunction(){__flash_unloadHandler=3Dfunction(){};__flash_savedUn=
loadHandler=3Dfunction(){};window.attachEvent("onunload",deconcept.SWFObj=
ectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFO=
bjectUtil.prepUnload);deconcept.unloadSet=3Dtrue;}}if(!document.getElemen=
tById&&document.all){document.getElementById=3Dfunction(id){return =
document.all[id];};}var =
getQueryParamValue=3Ddeconcept.util.getRequestParameter;var =
FlashObject=3Ddeconcept.SWFObject;var SWFObject=3Ddeconcept.SWFObject;
------=_NextPart_000_0000_01CAD4A5.2B968EA0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://physorg.us.intellitxt.com/intellitxt/front.asp?ipid=7576
/* This source code is Copyright (c) Vibrant Media 2001-2010 and forms =
part of the patented Vibrant Media product "IntelliTXT" (sm). */ =0A=
if('undefined'=3D=3Dtypeof $iTXT){var =
$iTXT=3D{};}if('undefined'=3D=3Dtypeof =
$iTXT.glob){$iTXT.glob=3D{};}if('undefined'=3D=3Dtypeof =
$iTXT.glob.track){$iTXT.glob.track=3D{};}$iTXT.glob.itxtRunning=3D1;if('u=
ndefined'=3D=3Dtypeof =
$iTXT.cnst){$iTXT.cnst=3D{ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDA=
TA_SECTION_NODE:4,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_N=
ODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,ADVERTTYPE_INTELLIT=
XTEDIT:0,ADVERTTYPE_LIVEDOTCOM:77,ADVERTTYPE_ZUNE:78,WEIGHTING_DEFAULT_DA=
TABASE:10,WEIGHTING_DEFAULT_TEMPLATE:20,WEIGHTING_DEFAULT_COMPONENT:30,WE=
IGHTING_DEFAULT_TRANSLATION:15,WEIGHTING_DEFAULT_CHANNEL:40,WEIGHTING_DEF=
AULT_CAMPAIGN:50,WEIGHTING_DEFAULT_DEBUG:60};$iTXT.cnst.ADVERTTYPES_NEW_R=
ENDER=3D[];$iTXT.cnst.ADVERTTYPES_NEW_RENDER['at77'] =3D =
true;$iTXT.cnst.ADVERTTYPES_NEW_RENDER['at78'] =3D =
true;$iTXT.cnst.ADVERTTYPES_NEW_RENDER['at79'] =3D =
true;$iTXT.cnst.ADVERTTYPES_WITH_ICONS=3D[];$iTXT.cnst.ADVERTTYPES_WITH_I=
CONS['at0']=3Dtrue;$iTXT.cnst.ADVERTTYPES_WITH_ICONS['at77']=3Dtrue;} =
if('undefined'=3D=3Dtypeof =
$iTXT.frnt){$iTXT.frnt=3D{};}$iTXT.frnt.fS=3Dnew =
Date();_qoptions=3D{tags:"385.772.7576"};_qacct=3D"p-fdwEfW0hIeH9U";windo=
w.setTimeout('if(itxtLES)itxtLES("http://edge.quantserve.com/quant.js", =
100);');
function itxtLES(u){if('string'!=3Dtypeof =
u||!u.match(/^http/)){return;}var =
e=3Ddocument.createElement('script');e.src=3Du;e.type=3D'text/javascript'=
;var b=3Ddocument.getElementsByTagName('body')[0];b.insertBefore(e, =
b.firstChild);}
function itxtDSB(u){if('string'!=3Dtypeof =
u||!u.match(/^http/)){return;}try{if(navigator.appVersion.indexOf('MSIE')=
>=3D0 && ('complete'!=3Ddocument.readyState)){document.write(' ');}else =
itxtLES(u);}catch(e){}}
document.itxtDisabled=3D1;
if(!document.itxtInProg && document.itxtDisabled){
document.itxtInProg=3D1;var =
gSEID=3D0,gSEST=3D'',gDTmSt=3D0,gDTmO=3D0,gQAOL=3D0;$iTXT.glob.newRender=3D=
0;var =
bvie=3Dnavigator.appVersion.indexOf('MSIE')>=3D0&&navigator.appVersion.in=
dexOf('Opera')<0,gIAS=3D'';
function gTc(name){ var search =3D name+'=3D'; var returnvalue =3D =
''; if (document.cookie && (document.cookie.length > 0)) { =
offset =3D document.cookie.indexOf(search); if (offset !=3D -1) =
{ offset +=3D search.length; var end =3D =
document.cookie.indexOf(';', offset); if (end =3D=3D -1) end =
=3D document.cookie.length; =
returnvalue=3DdecodeURIComponent(document.cookie.substring(offset, =
end)); } } return returnvalue;}var =
MUID=3DgTc('MUID');itxtDSB('http://images.intellitxt.com/ast/js/vm/EventM=
onitor_10277.js');
if(!$iTXT){var =
$iTXT=3D{};}if(!$iTXT.core){$iTXT.core=3D{};}if(!$iTXT.data){$iTXT.data=3D=
{};}if(!$iTXT.fx){$iTXT.fx=3D{};}if(!$iTXT.tmpl){$iTXT.tmpl=3D{};};if(!$i=
TXT.tmpl.js){$iTXT.tmpl.js=3D{};};if(!$iTXT.tmpl.components){$iTXT.tmpl.c=
omponents=3D{};};if(!$iTXT.ui){$iTXT.ui=3D{};}if(!$iTXT.js){$iTXT.js=3D{}=
;}$iTXT.js.fileLocation =3D =
'http://images.intellitxt.com/ast/js/vm/';if(!$iTXT.debug){$iTXT.debug=3D=
{};}if(!$iTXT.metrics){$iTXT.metrics=3D{};}if(!$iTXT.core){$iTXT.core=3D{=
};}$iTXT.debug.Log=3Dfunction(){};$iTXT.debug.Util=3D{msg:function(){}};$=
iTXT.js.load=3Dfunction(src){if('string'!=3Dtypeof =
src||!src.match(/^http/)){return;}try{var =
e=3Ddocument.createElement('script');e.src=3Dsrc;e.type=3D'text/javascrip=
t';var b=3Ddocument.getElementsByTagName('body')[0];b.insertBefore(e, =
b.firstChild);}catch(e){}};$iTXT.js.loadCss=3Dfunction(src, id){try{var =
ss=3Ddocument.createElement('link');ss.id=3Did;ss.href=3Dsrc;ss.type=3D't=
ext/css';ss.rel=3D'stylesheet';var =
b=3Ddocument.getElementsByTagName('body')[0];b.insertBefore(ss, =
b.firstChild);}catch(e){}};$iTXT.js.init=3Dfunction(){};$iTXT.js.loadLibr=
aries=3Dfunction(){if(navigator.appVersion.indexOf('MSIE')>=3D0 && =
'complete'!=3Ddocument.readyState){window.setTimeout($iTXT.js.loadLibrari=
es, 100);}else{if ($iTXT.js && =
$iTXT.js.load){$iTXT.js.load('http://images.intellitxt.com/ast/js/vm/jsli=
b/core_10563.js');$iTXT.js.load('http://images.intellitxt.com/ast/js/vm/j=
slib/data_10580.js');$iTXT.js.load('http://images.intellitxt.com/ast/js/v=
m/jslib/metrics_10076.js');$iTXT.js.load('http://images.intellitxt.com/as=
t/js/vm/jslib/fx_10486.js');$iTXT.js.load('http://images.intellitxt.com/a=
st/js/vm/jslib/oldui_10543.js');$iTXT.js.load('http://images.intellitxt.c=
om/ast/js/vm/jslib/debug_10486.js');$iTXT.js.check();}}};$iTXT.js.ready=3D=
0;$iTXT.js.loader=3D{};$iTXT.js.check=3Dfunction(){var =
error=3D0;if(!$iTXT.js.loader['$iTXT.core.Util']){error=3D1;}if(!$iTXT.js=
.loader['$iTXT.core.Builder']){error=3D1;}if(!$iTXT.js.loader['$iTXT.core=
.Browser']){error=3D1;}if(!$iTXT.js.loader['$iTXT.core.Class']){error=3D1=
;}if(!$iTXT.js.loader['$iTXT.core.Event']){error=3D1;}if(!$iTXT.js.loader=
['$iTXT.core.Math']){error=3D1;}if(!$iTXT.js.loader['$iTXT.core.Dom']){er=
ror=3D1;}if(!$iTXT.js.loader['$iTXT.debug.Util']){error=3D1;}if(!$iTXT.js=
.loader['$iTXT.data.AdLogger']){error=3D1;}if(!$iTXT.js.loader['$iTXT.dat=
a.Context']){error=3D1;}if(!$iTXT.js.loader['$iTXT.data.Country']){error=3D=
1;}if(!$iTXT.js.loader['$iTXT.data.Dom']){error=3D1;}if(!$iTXT.js.loader[=
'$iTXT.data.Param']){error=3D1;}if(!$iTXT.js.loader['$iTXT.metrics.Contex=
t']){error=3D1;}if(!$iTXT.js.loader['$iTXT.fx.Base']){error=3D1;}if(!$iTX=
T.js.loader['$iTXT.fx.Combination']){error=3D1;}if(!$iTXT.js.loader['$iTX=
T.fx.Fade']){error=3D1;}if(!$iTXT.js.loader['$iTXT.fx.Move']){error=3D1;}=
if(!$iTXT.js.loader['$iTXT.fx.Queue']){error=3D1;}if(!$iTXT.js.loader['$i=
TXT.fx.Size']){error=3D1;}if(!$iTXT.js.loader['$iTXT.ui.ComponentBase']){=
error=3D1;}if(!$iTXT.js.loader['$iTXT.ui.TooltipSlideOut']){error=3D1;}if=
(error){window.setTimeout($iTXT.js.check,100);}else{try{$iTXT.core.Util_L=
oad();$iTXT.core.Builder_Load();$iTXT.core.Browser_Load();$iTXT.core.Clas=
s_Load();$iTXT.core.Event_Load();$iTXT.core.Math_Load();$iTXT.core.Dom_Lo=
ad();$iTXT.debug.Util_Load();$iTXT.data.AdLogger_Load();$iTXT.data.Contex=
t_Load();$iTXT.data.Country_Load();$iTXT.data.Dom_Load();$iTXT.data.Param=
_Load();$iTXT.metrics.Context_Load();$iTXT.fx.Base_Load();$iTXT.fx.Combin=
ation_Load();$iTXT.fx.Fade_Load();$iTXT.fx.Move_Load();$iTXT.fx.Queue_Loa=
d();$iTXT.fx.Size_Load();$iTXT.ui.ComponentBase_Load();$iTXT.ui.TooltipSl=
ideOut_Load();}catch(e){}$iTXT.js.ready=3D1;$iTXT.js.init();if($iTXT.js.o=
nload){$iTXT.js.onload();}}};function itxtBegin(){
var itxturl=3D'http://physorg.us.intellitxt.com/v3/door.jsp?ts=3D'+(new =
Date()).getTime()+'&pagecl=3D'+itxtbtl()+'&enc=3D'+itxtGCE()+'&fv=3D'+gDF=
VS()+'&muid=3D'+MUID+'&ipid=3D7576&refurl=3D'+document.location.href.repl=
ace(/\&/g,'%26').replace(/\'/g, '%27').replace(/\"/g, =
'%22').replace(/\#(.)*/,'');
itxturl+=3D'&seid=3D'+gSEID+'&sest=3D'+gSEST;
if ($iTXT && $iTXT.js && $iTXT.js.ready) {$iTXT.js.load(itxturl);
} else if ($iTXT && $iTXT.js) {$iTXT.js.onload =3D function() {
$iTXT.js.load(itxturl);
}
}$iTXT.frnt.fE =3D new Date();
itxtDSB('http://images.intellitxt.com/ast/js/vm/pmon_10280.js')
}
itxtDSB('http://images.intellitxt.com/ast/js/vm/begin_10113.js');
$iTXT.js.loadLibraries();
} else {
itxtDSB('http://physorg.us.intellitxt.com/al.asp?ipid=3D7576&ts=3D'+(new =
Date()).getTime()+'&mt=3D66&mv=3D0');
}
------=_NextPart_000_0000_01CAD4A5.2B968EA0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://edge.quantserve.com/quant.js
//=0A=
// For correct measurement, DO NOT HOST THIS FROM ANOTHER SERVER=0A=
//=0A=
function _qcdst(){if(_qctzoff(0)!=3D_qctzoff(6))return 1;return 0;}=0A=
function _qctzoff(m){=0A=
var d1=3Dnew Date(2000,m,1,0,0,0,0);=0A=
var t=3Dd1.toGMTString();=0A=
var d3=3Dnew Date(t.substring(0,t.lastIndexOf(" ")-1));=0A=
return d1-d3;=0A=
}=0A=
function _qceuc(s){=0A=
if(typeof(encodeURIComponent)=3D=3D'function'){return =
encodeURIComponent(s);}=0A=
else{return escape(s);}=0A=
}=0A=
function _qcrnd(){return Math.round(Math.random()*2147483647);}=0A=
function _qcgc(n){=0A=
var v=3D'';=0A=
var c=3Ddocument.cookie;if(!c)return v;=0A=
var i=3Dc.indexOf(n+"=3D");=0A=
var len=3Di+n.length+1;=0A=
if(i>-1){=0A=
var end=3Dc.indexOf(";", len);=0A=
if(end<0)end=3Dc.length;=0A=
v=3Dc.substring(len,end);=0A=
}=0A=
return v;=0A=
}=0A=
function _qcdomain(){=0A=
var d=3Ddocument.domain;=0A=
if(d.substring(0,4)=3D=3D"www.")d=3Dd.substring(4,d.length);=0A=
var a=3Dd.split(".");var len=3Da.length;=0A=
if(len<3)return d;=0A=
var e=3Da[len-1];=0A=
if(e.length<3)return d;=0A=
d=3Da[len-2]+"."+a[len-1];=0A=
return d;=0A=
}=0A=
function _qcsc(m){=0A=
var s=3D"";var d=3D_qcdomain();=0A=
if =
(m=3D=3D"ad"||d=3D=3D"doubleclick.net"||d=3D=3D"atdmt.com"||d=3D=3D"yield=
manager.com"||d=3D=3D"fimserve.com"||=0A=
=
d=3D=3D"tribalfusion.com"||d=3D=3D"trafficmp.com"){s+=3D";fpan=3Du;fpa=3D=
";return s;}=0A=
var u=3Ddocument;var a=3D_qcgc("__qca");=0A=
if(a.length>0){s+=3D";fpan=3D0;fpa=3D"+a;}=0A=
else{=0A=
var da=3Dnew Date();=0A=
a=3D'P0-'+_qcrnd()+'-'+da.getTime();=0A=
u.cookie=3D"__qca=3D"+a+"; expires=3DSun, 18 Jan 2038 00:00:00 GMT; =
path=3D/; domain=3D"+d;=0A=
a=3D_qcgc("__qca");=0A=
if(a.length>0){s+=3D";fpan=3D1;fpa=3D"+a;}=0A=
else{s+=3D";fpan=3Du;fpa=3D";}=0A=
}=0A=
return s;=0A=
}=0A=
function _qcdc(n){=0A=
document.cookie=3Dn+"=3D; expires=3DThu, 01 Jan 1970 00:00:01 GMT; =
path=3D/; domain=3D"+_qcdomain();=0A=
}=0A=
function _qpxload(){=0A=
if((_qimg)&& typeof _qimg.width =3D=3D"number"){=0A=
if (_qimg.width=3D=3D3){_qcdc("__qca");}=0A=
}}=0A=
function quantserve(){=0A=
var r=3D_qcrnd();=0A=
var =
sr=3D'',qo=3D'',qm=3D'',url=3D'',ref=3D'',je=3D'u',ns=3D'1',media=3D'webp=
age',event=3D'load';=0A=
if(typeof _qoptions !=3D"undefined" && _qoptions!=3Dnull){=0A=
for(var k in _qoptions){=0A=
if(typeof(_qoptions[k])!=3D'string'){continue;}=0A=
if(k=3D=3D'qacct'){_qacct=3D_qoptions[k];}=0A=
else{qo+=3D';'+k+'=3D'+_qceuc(_qoptions[k]);}=0A=
if(k=3D=3D'media'){media=3D_qoptions[k];}=0A=
if(k=3D=3D'event'){event=3D_qoptions[k];}=0A=
}=0A=
_qoptions=3Dnull;=0A=
}=0A=
if((typeof _qacct =3D=3D"undefined")||(_qacct.length=3D=3D0))return;=0A=
if(media=3D=3D'webpage' && event=3D=3D'load'){=0A=
if((typeof _qpixelsent =
!=3D"undefined")&&(_qpixelsent=3D=3D_qacct))return;=0A=
_qpixelsent=3D_qacct;}=0A=
var ce=3D(navigator.cookieEnabled)?"1":"0";=0A=
if(typeof navigator.javaEnabled =
!=3D'undefined')je=3D(navigator.javaEnabled())?"1":"0";=0A=
if(typeof _qmeta !=3D"undefined" && =
_qmeta!=3Dnull){qm=3D';m=3D'+_qceuc(_qmeta);_qmeta=3Dnull;}=0A=
=
if(self.screen){sr=3Dscreen.width+"x"+screen.height+"x"+screen.colorDepth=
;}=0A=
var d=3Dnew Date();=0A=
var dst=3D_qcdst();=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
var dg=3D"E11029-W-MS-7";=0A=
var qs=3D"http://pixel.quantserve.com";=0A=
var fp=3D_qcsc(media);=0A=
if(window.location && =
window.location.href)url=3D_qceuc(window.location.href);=0A=
if(window.document && =
window.document.referrer)ref=3D_qceuc(window.document.referrer);=0A=
if(self=3D=3Dtop)ns=3D'0';=0A=
_qimg=3Dnew Image();=0A=
_qimg.alt=3D"";=0A=
=
_qimg.src=3Dqs+'/pixel'+';r=3D'+r+fp+';ns=3D'+ns+';url=3D'+url+';ref=3D'+=
ref+';ce=3D'+ce+';je=3D'+je+';sr=3D'+sr+';dg=3D'+dg+';dst=3D'+dst+';et=3D=
'+d.getTime()+';tzo=3D'+d.getTimezoneOffset()+';a=3D'+_qacct+qo+qm;=0A=
_qimg.onload=3Dfunction() {_qpxload();}=0A=
}=0A=
quantserve();=0A=
------=_NextPart_000_0000_01CAD4A5.2B968EA0--