_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_01CB0E1F.0A1F7580
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
// iPad=20
var ipadOn =3D navigator.userAgent.indexOf('iPad');
=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;
} =20
else if (ipadOn > 0){
var hintText =3D 'Stay in touch with PhysOrg.com while on the go - =
check PhysOrg iPad app ';
closeBTfunc =3D function (){Effect.Fade('search-hint', { duration: 0.5 =
}); return false;}
showHint =3D true;
}
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_01CB0E1F.0A1F7580
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://api.toptenreviews.com/widgets/tmn-partner.js
// JavaScript Document
function detectBrowser(ie8affiliateid){
if(!(readCookie('ie8popper'))){
var currentUrl=3Dwindow.location.href;
if(!userexpiredate) {
var userexpiredate=3D1;
}
createCookie('ie8popper','read',userexpiredate);
if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){ //test for MSIE =
x.x;
var ieversion=3Dnew Number(RegExp.$1) // capture x.x portion and =
store as a number
if (ieversion<8){
document.getElementById('ie8widgetcall').innerHTML=3D" ";
setTimeout("popgbox(3, 'popcontent2', 543,375,-1, true)", 5000);
}
}=09
}
}
//graybox stuff
function fadeBox(divName, endOpac){
var grayBox =3D document.getElementById(divName);
if(!grayBox) {
window.gbinterval =3D clearInterval(window.gbinterval);
return false;
}
var i =3D parseFloat(grayBox.style.opacity);
var step =3D 0.1;
if(endOpac){
if(i < endOpac){
i +=3D step;
document.getElementById(divName).style.filter =3D "alpha(opacity=3D" =
+ i*100 + ")";
document.getElementById(divName).style.opacity =3D i;
}else{
window.gbinterval =3D clearInterval(window.gbinterval);
}
}else{
if(i > endOpac){
i -=3D step;
document.getElementById(divName).style.filter =3D "alpha(opacity=3D" =
+ (i*100) + ")";
document.getElementById(divName).style.opacity =3D i;
}else {
window.gbinterval =3D clearInterval(window.gbinterval);
showhidediv(divName,2);
}
}
}
function showhidediv(divname,type){
box=3Ddocument.getElementById(divname);
box.style.display=3D(type=3D=3D1) ? "block":"none";
}
//use this for a greybox fadeout
function smokeScreen(divId,endOpac){
var topscroll=3D(document.documentElement.scrollTop ? =
document.documentElement.scrollTop : document.body.scrollTop);
if(endOpac>0){
// hide scroll bars
windowscroll=3Ddocument.getElementsByTagName('html')[0];
windowscroll.style.overflow=3D"hidden";
document.documentElement.scrollTop=3Dtopscroll;
//initialize opacity
box=3Ddocument.getElementById(divId);
box.style.opacity=3D0;
box.style.filter=3D"alpha(opacity=3D0)";
//make div visible
showhidediv(divId,1);
}
else{
// put back the scrolls
windowscroll=3Ddocument.getElementsByTagName('html')[0];
windowscroll.style.overflow=3D"auto";
// and for safari and chrome
document.body.scrollTop +=3D 1;
document.body.scrollTop -=3D 1;
document.documentElement.scrollTop=3Dtopscroll;
}
// fade in/out
=
window.gbinterval=3DsetInterval("fadeBox('"+divId+"',"+endOpac+")",25);
}
function =
spotLight(highlightId,smokeScreenId,highlightElementHeight,endOpacity){
if(endOpacity>1) endOpacity =3D 1;
else if(endOpacity<0) endOpacity =3D 0;
var height =3D (window.innerHeight) ? window.innerHeight : =
document.documentElement.clientHeight;
var eTop =3D document.getElementById(highlightId).offsetTop;
var scrollLoc =3D eTop + (highlightElementHeight - height)/2.0;
if(scrollLoc<0) scrollLoc =3D 0;
smokeScreen(smokeScreenId,endOpacity);
document.getElementById(smokeScreenId).style.top =3D scrollLoc+'px';
document.body.scrollTop =3D scrollLoc;
document.documentElement.scrollTop =3D scrollLoc;
}
//greybox popper
window.grayBoxLoading =3D false;
function popgbox(type,desc,width,height,popHeadCode,divpop){
if(typeof(divpop) =3D=3D "undefined"){
divpop =3D false;
}
if(type =3D=3D 2 && typeof(window.popperBox) !=3D 'undefined') {
boxname=3Dwindow.popperBox.name;
divpop=3Dwindow.popperBox.isdiv;
}
else {
var boxname =3D (typeof(desc) =3D=3D 'undefined') ? 'popcontent' =
: (desc =3D=3D '') ? 'popcontent2' : desc;
boxname =3D (type =3D=3D 1) ? 'popcontent' : boxname;
if(divpop) {
window.popperBox=3D {name:boxname, isdiv:divpop};
}
}
if(desc !=3D ''){
var testUrl =3D new String(desc);
if (testUrl.indexOf('be-the-first.html') > 0 && popHeadCode !=3D =
'onclick') {
return false;
}
}
if(window.grayBoxLoading=3D=3Dfalse) {
window.grayBoxLoading =3D true;
setTimeout('window.grayBoxLoading=3Dfalse;',1000);
// default width and height if not set
width=3D(typeof(width) =3D=3D "undefined") ? 500:width;
height=3D(typeof(height) =3D=3D "undefined") ? 500:height;
leftscroll=3D(document.documentElement.scrollLeft) ? =
document.documentElement.scrollLeft : document.body.scrollLeft;
topscroll=3D(document.documentElement.scrollTop ? =
document.documentElement.scrollTop : document.body.scrollTop);
browseheight=3D(window.innerHeight) ? =
window.innerHeight:document.documentElement.clientHeight;
browsewidth=3D(window.innerWidth) ? =
window.innerWidth:document.documentElement.clientWidth;
// if the browser is smaller than the window will be..
height=3D(browseheight < height) ? browseheight:height;
width=3D(browsewidth < width) ? browsewidth:width;
browseheight=3D(browseheight < height) ? 0:browseheight;
boxtop=3D(browseheight/2) + topscroll;
boxtop=3Dboxtop-(height/2);
boxtop=3D(boxtop <=3D0) ? 0:boxtop;
browsewidth=3D(browsewidth < width) ? 0:browsewidth;
boxleft=3D(browsewidth/2) + leftscroll;
boxleft=3Dboxleft-(width/2);
boxleft=3D(boxleft <=3D 0) ? 0:boxleft;
contbox=3Ddocument.getElementById(boxname);
contbox.style.top=3Dboxtop + "px";
contbox.style.left=3Dboxleft + "px";
contbox.style.height=3Dheight + "px";
contbox.style.width=3Dwidth + "px";
var out=3Dfalse;
if(type =3D=3D 1){
ifm=3Ddocument.getElementById('popfrm');
// show the content area with the iframe
ifm.src=3Ddesc;
if(popHeadCode=3D=3D-1)ifm.style.height =3D height + "px";
else ifm.style.height =3D (height - 25) + "px";
ifm.style.width =3D width + "px";
if(typeof(popHeadCode) =3D=3D 'undefined' || =
popHeadCode!=3D-1){
var pophead=3Ddocument.getElementById('pophead');
pophead.contentWindow.document.body.style.padding=3D"0";
pophead.contentWindow.document.body.style.margin=3D"0";
=
pophead.contentWindow.document.body.style.background=3D"#ABABC2";
pophead.contentWindow.document.body.style.border=3D"0";
=
pophead.contentWindow.document.getElementsByTagName('html')[0].style.over=
flow=3D"hidden";
pophead.style.width=3Dwidth + "px";
pophead.style.height=3D25 + "px";
pophead.style.border=3D"0px";
if(typeof(popHeadCode)=3D=3D"undefined" || popHeadCode =
=3D=3D 'onclick'){
=
pophead.contentWindow.document.body.innerHTML=3D'';
} else {
pophead.contentWindow.document.body.innerHTML =3D =
popHeadCode;
=
pophead.contentWindow.document.body.style.background=3D"#FFFFFF";
}
} else {
document.getElementById('pophead').style.height=3D"0px";
}
} else if(type =3D=3D 3) {
// don't do anything, we just don't want it to say it is =
fading out.
} else {
if(!divpop){
ifm=3Ddocument.getElementById('popfrm');
=
ifm.src=3D'http://www.toptenreviews.com/community/greybox/blank.html';
}
out=3Dtrue;
}
// fade
var endopac=3D(out =3D=3D true) ? 0:0.6;
showhidediv(boxname,(out =3D=3D true) ? 2 : 1);
smokeScreen('faderbox',endopac);
}
}
//end graybox stuff
function createCookie(name,value,days) {
var docurl=3Ddocument.URL;
if(docurl.indexOf(".toptenreviews.com")>0)
var dmn =3D "; domain=3D.toptenreviews.com;";
else
var dmn =3D ";";
if (days) {
var date =3D new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires =3D "; expires=3D"+date.toGMTString();
}
else var expires =3D "";
document.cookie =3D name+"=3D"+value+expires+"; path=3D/"+dmn;
}
function readCookie(name) {
var nameEQ =3D name + "=3D";
var ca =3D document.cookie.split(';');
for(var i=3D0;i < ca.length;i++) {
var c =3D ca[i];
while (c.charAt(0)=3D=3D' ') c =3D c.substring(1,c.length);
if (c.indexOf(nameEQ) =3D=3D 0) return =
c.substring(nameEQ.length,c.length);
}
return "";
}
------=_NextPart_000_0000_01CB0E1F.0A1F7580
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_01CB0E1F.0A1F7580
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_01CB0E1F.0A1F7580
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://pagead2.googlesyndication.com/pagead/show_ads.js
=0A=
(function(){var h=3Dtrue,i=3Dnull,j=3Dfalse,k=3D(new =
Date).getTime(),aa=3Dfunction(a){var b=3D(new =
Date).getTime()-k;b=3D"&dtd=3D"+(b<1E4?b:"M");return a+b};var =
l=3Dthis,ba=3Dfunction(a,b,c){a=3Da.split(".");c=3Dc||l;!(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{})},m=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},n=3Dfunction(a){return =
m(a)=3D=3D"array"},ca=3Dfunction(a){var b=3Dm(a);return =
b=3D=3D"array"||b=3D=3D"object"&&typeof =
a.length=3D=3D"number"},p=3Dfunction(a){return typeof =
a=3D=3D"string"},da=3Dfunction(a){a=3Dm(a);return a=3D=3D"object"||=0A=
a=3D=3D"array"||a=3D=3D"function"},q=3Dfunction(a,b){var =
c=3Db||l;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)}},ea=3Dfunction(a){var =
b=3DArray.prototype.slice.call(arguments,1);return function(){var =
c=3DArray.prototype.slice.call(arguments);c.unshift.apply(c,b);return =
a.apply(this,c)}},r=3Dfunction(a,b,c){ba(a,b,c)},fa=3Dfunction(a,=0A=
b,c){a[b]=3Dc};var s=3Dfunction(a,b){var c=3DparseFloat(a);return =
isNaN(c)||c>1||c<0?b:c},t=3Dfunction(a,b){if(a=3D=3D"true")return =
h;if(a=3D=3D"false")return j;return =
b},ga=3D/^([\w-]+\.)*([\w-]{2,})(\:[0-9]+)?$/,u=3Dfunction(a,b){if(!a)ret=
urn b;var c=3Da.match(ga);return c?c[0]:b};var ha=3Dfunction(){return =
u("","googleads.g.doubleclick.net")},ia=3Dfunction(){return =
u("","pagead2.googlesyndication.com")},v=3Dfunction(){return =
u("","pagead2.googlesyndication.com")};var =
oa=3Dfunction(a,b){if(b)return =
a.replace(ja,"&").replace(ka,"<").replace(la,">").replace(ma,"&=
quot;");else{if(!na.test(a))return =
a;if(a.indexOf("&")!=3D-1)a=3Da.replace(ja,"&");if(a.indexOf("<")!=3D=
-1)a=3Da.replace(ka,"<");if(a.indexOf(">")!=3D-1)a=3Da.replace(la,">=
;");if(a.indexOf('"')!=3D-1)a=3Da.replace(ma,""");return =
a}},ja=3D/&/g,ka=3D//g,ma=3D/\"/g,na=3D/[&<>\"]/,ra=3Dfunction=
(a){if(a.indexOf("&")!=3D-1)return"document"in =
l&&a.indexOf("<")=3D=3D-1?pa(a):qa(a);return a},pa=3Dfunction(a){var b=3D=0A=
l.document.createElement("a");b.innerHTML=3Da;b.normalize&&b.normalize();=
a=3Db.firstChild.nodeValue;b.innerHTML=3D"";return =
a},qa=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"#"){var =
d=3DNumber("0"+c.substr(1));if(!isNaN(d))return =
String.fromCharCode(d)}return b}})},sa=3Dfunction(a,b){for(var =
c=3Db.length,d=3D0;db)return 1;return 0};var =
w=3DArray.prototype,va=3Dw.forEach?function(a,b,c){w.forEach.call(a,b,c)}=
:function(a,b,c){for(var =
d=3Da.length,e=3Dp(a)?a.split(""):a,f=3D0;f=3D0)};var Za=3Dfunction(a){return =
p(a)?document.getElementById(a):a},$a=3DZa,bb=3Dfunction(a,b){ya(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 =
ab)a.setAttribute(ab[d],c);else =
a[d]=3Dc})},ab=3D{cellpadding:"cellPadding",cellspacing:"cellSpacing",col=
span:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"w=
idth",usemap:"useMap",frameborder:"frameBorder",type:"type"},cb=3Dfunctio=
n(a){var b=3Da.document;if(Oa&&!A("500")&&!Pa){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");=0A=
c=3Dc.join("")}var =
f=3Da.createElement(c);if(d)if(p(d))f.className=3Dd;else =
bb(f,d);if(b.length>2){d=3Dfunction(g){if(g)f.appendChild(p(g)?a.createTe=
xtNode(g):g)};for(c=3D2;c0)?va(fb(e)?xa(e):e,d):d(e)}}return =
f},gb=3Dfunction(a,b){a.appendChild(b)},fb=3Dfunction(a){if(a&&typeof =
a.length=3D=3D"number")if(da(a))return typeof =
a.item=3D=3D"function"||typeof a.item=3D=3D"string";else =
if(m(a)=3D=3D"function")return typeof a.item=3D=3D"function";return =
j};var hb=3Ddocument,B=3Dwindow,ib=3Dfunction(a){var =
b=3Di;if((a=3Da.getElementsByTagName("script"))&&a.length){b=3Da[a.length=
-1];b=3Db.parentNode}return b},jb=3Dib(hb);v();=0A=
var C=3Dfunction(a,b){for(var c in =
a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(i,a[c],c,a)},kb=3Dfun=
ction(a){return!!a&&typeof =
a=3D=3D"function"&&!!a.call},lb=3Dfunction(a){return!!a&&(typeof =
a=3D=3D"object"||typeof =
a=3D=3D"function")},nb=3Dfunction(a,b){if(!a||!lb(a))return =
h;return!mb(a,b.prototype)},mb=3Dfunction(a,b){if(!a)return j;var =
c=3Dh;C(b,function(d,e){if(!c||!(e in a)||typeof d!=3Dtypeof =
a[e])c=3Dj});return c},ob=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(tb("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 wb(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 =
E(a){return!!a&&a.indexOf("_sdo")!=3D-1}=0A=
function xb(a,b){if(!(Math.random()<1.0E-4)){var =
c=3DMath.random();if(c>2)+f&4294967295}return =
d>0?d:4294967296+d},Bb=3Dfunction(a){if(a=3D=3Da.top)return 0;var =
b=3D[];b.push(a.document.URL);a.name&&b.push(a.name);var =
c=3Dh;a=3Dzb(!c,a);b.push(a.width.toString());b.push(a.height.toString())=
;return Ab(b.join(""))},Cb=3Dfunction(a){if(!a)return"";var =
b=3D[],c=3D0;for(a=3Da;a&&c<25;a=3Da.parentNode,++c)b.push(a.id||=0A=
"");return b.join()};var =
Db=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_targeting_video_doc_id:"tvdi",google_ui_features:"ui",g=
oogle_ui_version:"uiv",google_video_doc_id:"video_doc_id",google_video_pr=
oduct_type:"video_product_type"},Eb=3D{google_ad_client:"client",google_a=
d_format:"format",google_ad_output:"output",google_ad_callback:"callback"=
,=0A=
google_ad_height:"h",google_ad_override:"google_ad_override",google_ad_sl=
ot:"slotname",google_ad_width:"w",google_ctr_threshold:"ctr_t",google_ima=
ge_size:"image_size",google_last_modified_time:"lmt",google_max_num_ads:"=
num_ads",google_max_radlink_len:"max_radlink_len",google_num_radlinks:"nu=
m_radlinks",google_num_radlinks_per_unit:"num_radlinks_per_unit",google_o=
nly_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:"r=
t",=0A=
google_skip:"skip"},Fb=3D{google_only_pyv_ads:"pyv",google_with_pyv_ads:"=
withpyv"};function Gb(a,b){try{return =
a.top.document.URL=3D=3Db.URL}catch(c){}return j}function =
Hb(a,b,c,d){c=3Dc||a.google_ad_width;d=3Dd||a.google_ad_height;if(Gb(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 =
Ib(a,b){C(b,function(c,d){a["google_"+d]=3Dc})}=0A=
function Jb(a,b){if(!b)return a.URL;return a.referrer}function =
Kb(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 =
Lb(a,b,c,d){a.page_url=3DJb(c,d);a.page_location=3Di}function =
Mb(a,b,c,d){a.page_url=3Db.google_page_url;a.page_location=3DJb(c,d)||"EM=
PTY"}=0A=
function Nb(a,b){var =
c=3D{},d=3DHb(a,b,a.google_ad_width,a.google_ad_height);c.iframing=3DKb(a=
,d);a.google_page_url?Mb(c,a,b,d):Lb(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 Ob(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 Pb(a,b){var c=3DQb(a,b);Ib(a,c)}function Qb(a,b){var c;return =
c=3Da.google_page_url=3D=3Di&&Rb[b.domain]?Ob(b):Nb(a,b)}var =
Rb=3D{};Rb["ad.yieldmanager.com"]=3Dh;var =
Sb=3Ds("0",0),Tb=3Ds("0",0),Ub=3Ds("0.005",0),Vb=3Ds("1",0),Wb=3Ds("0.01"=
,0),Zb=3Ds("0.01",0),$b=3Ds("0.008",0),ac=3Ds("0.01",0),bc=3Ds("0",0);var=
=
cc=3Dt("false",j),dc=3Dt("false",h),ec=3Dt("false",j),fc=3Dt("false",j);v=
ar =
gc=3Dfunction(a,b,c){b=3Dq(b,l,a);a=3Dwindow.onerror;window.onerror=3Db;t=
ry{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};r("google_protectAndRun",gc);=0A=
var ic=3Dfunction(a,b,c,d){if(Math.random()<0.01){var =
e=3Dhb;a=3D["http://",ia(),"/pagead/gen_204","?id=3Djserror","&jscb=3D",c=
c?1:0,"&jscd=3D",ec?1:0,"&context=3D",D(a),"&msg=3D",D(b),"&file=3D",D(c)=
,"&line=3D",D(d.toString()),"&url=3D",D(e.URL.substring(0,512)),"&ref=3D"=
,D(e.referrer.substring(0,512))];a.push(hc());sb(B,a.join(""))}return!fc}=
;r("google_handleError",ic);=0A=
var kc=3Dfunction(a){jc|=3Da},jc=3D0,hc=3Dfunction(){var =
a=3D["&client=3D",D(B.google_ad_client),"&format=3D",D(B.google_ad_format=
),"&slotname=3D",D(B.google_ad_slot),"&output=3D",D(B.google_ad_output),"=
&ad_type=3D",D(B.google_ad_type)];return a.join("")};var =
lc=3D"",oc=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(E(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=3Dmc(window.goo=
gle_ad_format,String(window.google_ad_output),Number(window.google_ad_wid=
th),Number(window.google_ad_height),=0A=
window.google_ad_slot,!!window.google_override_format);lc=3Dwindow.google=
_ad_client||"";window.google_ad_client=3Dnc(window.google_ad_format,windo=
w.google_ad_client);Pb(window,document);if(window.google_flash_version=3D=
=3Di)window.google_flash_version=3Dvb();window.google_ad_section=3Dwindow=
.google_ad_section||window.google_ad_region||"";window.google_country=3Dw=
indow.google_country||window.google_gl||"";a=3D(new =
Date).getTime();if(n(window.google_color_bg))window.google_color_bg=3DF(w=
indow.google_color_bg,a);if(n(window.google_color_text))window.google_col=
or_text=3D=0A=
F(window.google_color_text,a);if(n(window.google_color_link))window.googl=
e_color_link=3DF(window.google_color_link,a);if(n(window.google_color_url=
))window.google_color_url=3DF(window.google_color_url,a);if(n(window.goog=
le_color_border))window.google_color_border=3DF(window.google_color_borde=
r,a);if(n(window.google_color_line))window.google_color_line=3DF(window.g=
oogle_color_line,a)},pc=3Dfunction(a){C(Db,function(b,c){a[c]=3Di});C(Eb,=
function(b,c){a[c]=3Di});C(Fb,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},F=3Dfunction(a,b){kc(2);return =
a[b%a.length]},nc=3Dfunction(a,b){if(!b)return"";b=3Db.toLowerCase();retu=
rn =
b=3DE(a)?qc(b):rc(b)},rc=3Dfunction(a){if(a&&a.substring(0,3)!=3D"ca-")a=3D=
"ca-"+a;return =
a},qc=3Dfunction(a){if(a&&a.substring(0,7)!=3D"ca-aff-")a=3D"ca-aff-"+a;r=
eturn =
a},mc=3Dfunction(a,b,c,d,e,f){if(!a&&b=3D=3D"html")a=3Dc+"x"+d;return =
a=3Dsc(a,e,f)?a.toLowerCase():""},sc=3Dfunction(a,b,c){if(!a)return =
j;if(!b)return h;return c};var H=3Ddocument,I=3Dnavigator,J=3Dwindow;=0A=
function tc(){var a=3DH.cookie,b=3DMath.round((new =
Date).getTime()/1E3),c=3DJ.google_analytics_domain_name;c=3Dtypeof =
c=3D=3D"undefined"?uc("auto"):uc(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!!J&&!!J.gaGlobal;if(d){a=3Da.split=
("__utma=3D"+c+".")[1].split(";")[0].split(".");g.sid=3De&&f?a[3]+"":o&&J=
.gaGlobal.sid?J.gaGlobal.sid:b+"";g.vid=3Da[0]+"."+a[1];g.from_cookie=3Dh=
}else{g.sid=3Do&&J.gaGlobal.sid?J.gaGlobal.sid:b+"";g.vid=3Do&&J.gaGlobal=
.vid?J.gaGlobal.vid:=0A=
(Math.round(Math.random()*2147483647)^vc()&2147483647)+"."+b;g.from_cooki=
e=3Dj}g.dh=3Dc;g.hid=3Do&&J.gaGlobal.hid?J.gaGlobal.hid:Math.round(Math.r=
andom()*2147483647);return J.gaGlobal=3Dg}=0A=
function vc(){var =
a=3DH.cookie?H.cookie:"",b=3DJ.history.length,c,d=3D[I.appName,I.version,=
I.language?I.language:I.browserLanguage,I.platform,I.userAgent,I.javaEnab=
led()?1:0].join("");if(J.screen)d+=3DJ.screen.width+"x"+J.screen.height+J=
.screen.colorDepth;else =
if(J.java){c=3Djava.awt.Toolkit.getDefaultToolkit().getScreenSize();d+=3D=
c.screen.width+"x"+c.screen.height}d+=3Da;d+=3DH.referrer?H.referrer:"";f=
or(a=3Dd.length;b>0;)d+=3Db--^a++;return wc(d)}=0A=
function wc(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 =
uc(a){if(!a||a=3D=3D""||a=3D=3D"none")return =
1;if("auto"=3D=3Da){a=3DH.domain;if("www."=3D=3Da.substring(0,4))a=3Da.su=
bstring(4,a.length)}return wc(a.toLowerCase())};var xc=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},yc=3Dfunction(a){for(;a!=3Da.parent&&xc(a.parent);)a=3Da.parent;return=
a},zc=3Di,Ac=3Dfunction(){zc||(zc=3Dyc(window));return =
zc},Bc=3Dfunction(){Ac()!=3Dwindow&&kc(4)};var =
Cc,K=3Dfunction(){this.p=3D[];this.P=3Dwindow;this.c=3D0},Dc=3Dfunction(a=
,b){this.fn=3Da;this.win=3Db};K.prototype.enqueue=3Dfunction(a,b){this.p.=
push(new =
Dc(a,b||this.P));this.g()};K.prototype.o=3Dfunction(){this.c=3D1};K.proto=
type.q=3Dfunction(){if(this.c=3D=3D1)this.c=3D0;this.g()};fa(K.prototype,=
"nq",K.prototype.enqueue);fa(K.prototype,"al",K.prototype.o);fa(K.prototy=
pe,"rl",K.prototype.q);K.prototype.g=3Dfunction(){this.P.setTimeout(q(thi=
s.O,this),0)};=0A=
K.prototype.O=3Dfunction(){if(this.c=3D=3D0&&this.p.length){var =
a=3Dthis.p.shift();this.c=3D2;a.win.setTimeout(q(this.J,this,a),0);this.g=
()}};K.prototype.J=3Dfunction(a){this.c=3D0;a.fn()};var =
Ec=3Dfunction(a){return =
lb(a)&&kb(a.nq)&&kb(a.al)&&kb(a.rl)},Fc=3Dfunction(){if(Cc)return Cc;var =
a=3DAc(),b=3Da.google_jobrunner;if(Ec(b))return Cc=3Db;return =
a.google_jobrunner=3DCc=3Dnew =
K},Gc=3Dfunction(a,b){Fc().nq(a,b)},Hc=3Dfunction(){Fc().al()},Ic=3Dfunct=
ion(){var a=3DAc().google_jobrunner;Ec(a)&&a.rl()};var =
Jc,Kc,Lc,Mc,Nc,Oc,Pc,Qc=3Dfunction(){Pc=3DOc=3DNc=3DMc=3DLc=3DKc=3DJc=3Dj=
;var a=3DJa();if(a)if(a.indexOf("Firefox")!=3D-1)Jc=3Dh;else =
if(a.indexOf("Camino")!=3D-1)Kc=3Dh;else =
if(a.indexOf("iPhone")!=3D-1||a.indexOf("iPod")!=3D-1)Lc=3Dh;else =
if(a.indexOf("iPad")!=3D-1)Mc=3Dh;else =
if(a.indexOf("Android")!=3D-1)Nc=3Dh;else =
if(a.indexOf("Chrome")!=3D-1)Oc=3Dh;else =
if(a.indexOf("Safari")!=3D-1)Pc=3Dh};Qc();var Rc=3DJc,Sc=3DOc;var =
L=3D!!window.google_async_iframe_id,M=3DL&&window.parent||window,Tc=3Dfun=
ction(a,b){for(var =
c=3Da.document,d=3Db.id,e=3D0;!d||a.document.getElementById(d);)d=3D"aswi=
ft_"+e++;b.id=3Dd;e=3D["");f=3De.join(" =
");c.write(f);return =
d},Uc=3Dfunction(a,b,c){a=3Da.document.getElementById(b).contentWindow.do=
cument;a.open();a.write(c)},Vc=3Dfunction(a){if(L&&a!=3Da.parent){Ic();a.=
setTimeout(function(){a.document.close()},0)}};var =
N=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 =
Yc=3Dfunction(a){this.a=3Dthis.S=3Da;Xc(this)},Zc,O=3Dfunction(){if(Zc)re=
turn Zc;if(L)var =
a=3DM,b=3D"google_persistent_state_async",c=3D{};else{a=3Dwindow;b=3D"goo=
gle_persistent_state";c=3Da}var d=3Da[b];if(typeof d!=3D"object"||typeof =
d.S!=3D"object")return a[b]=3DZc=3Dnew Yc(c);return =
Zc=3Dd},Xc=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,12,0)},$c=3D=
function(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"}},T=3Dfunction(a,b){var =
c=3D$c(b);return c=3Da.S[c]},U=3Dfunction(a,b,c){return =
a.S[$c(b)]=3Dc},S=3Dfunction(a,=0A=
b,c){a=3Da.S;b=3D$c(b);if(a[b]=3D=3D=3Dundefined)return a[b]=3Dc;return =
a[b]},ad=3Dfunction(a){if(T(a,1))return h;return =
U(a,1,!!window.google_new_domain_enabled)},bd=3Dfunction(a,b){return =
U(a,3,b)};var cd,dd,V=3Dfunction(){if(cd)return cd;var =
a=3DO(),b=3DT(a,3);if(nb(b,N))return cd=3Dbd(a,new N(1,2,3));return =
cd=3Db},ed=3Dfunction(){dd||(dd=3DWc(V()));return =
dd},fd=3D{CONTROL:"33895100",LOADER:"33895101",ASYNC_OK_ASYNC_LOADER:"338=
95120",ASYNC_OK_BLOCKING_LOADER:"33895121",ASYNC_OK_NO_LOADER:"33895122",=
NO_ASYNC_BLOCKING_LOADER:"33895123",NO_ASYNC_NO_LOADER:"33895124"};var =
W=3Dfunction(){};W.prototype.serialize=3Dfunction(a){var =
b=3D[];this.h(a,b);return =
b.join("")};W.prototype.h=3Dfunction(a,b){switch(typeof a){case =
"string":this.r(a,b);break;case "number":this.L(a,b);break;case =
"boolean":b.push(a);break;case "undefined":b.push("null");break;case =
"object":if(a=3D=3Di){b.push("null");break}if(n(a)){this.K(a,b);break}thi=
s.M(a,b);break;case "function":break;default:throw Error("Unknown type: =
"+typeof a);}};=0A=
var =
gd=3D{'"':'\\"',"\\":"\\\\","/":"\\/","\u0008":"\\b","\u000c":"\\f","\n":=
"\\n","\r":"\\r","\t":"\\t","\u000b":"\\u000b"},hd=3D/\uffff/.test("\ufff=
f")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;W.prototype=
.r=3Dfunction(a,b){b.push('"',a.replace(hd,function(c){if(c in gd)return =
gd[c];var d=3Dc.charCodeAt(0),e=3D"\\u";if(d<16)e+=3D"000";else =
if(d<256)e+=3D"00";else if(d<4096)e+=3D"0";return =
gd[c]=3De+d.toString(16)}),'"')};W.prototype.L=3Dfunction(a,b){b.push(isF=
inite(a)&&!isNaN(a)?a:"null")};=0A=
W.prototype.K=3Dfunction(a,b){var c=3Da.length;b.push("[");for(var =
d=3D"",e=3D0;e=
',a,">"].join("")},nd=3Dfunction(){if(window.google_disable_async)return =
j;return =
hb.domain=3D=3DB.location.hostname&&(z||Sc||Rc&&!!window.document.body)&&=0A=
!window.google_container_id&&(!window.google_ad_output||window.google_ad_=
output=3D=3D"html")},od=3Dfunction(a){var =
b=3D"script",c=3D{allowtransparency:'"true"',frameborder:'"'+(a.google_ad=
_frameborder||0)+'"',height:'"'+a.google_ad_height+'"',hspace:'"0"',margi=
nwidth:'"0"',marginheight:'"0"',name:'"google_ads_frame"',scrolling:'"no"=
',vspace:'"0"',width:'"'+a.google_ad_width+'"'};a.google_ad_frameborder=3D=
i;var d=3DTc(a,c);c=3Djd(a);kd(a);var e=3Dk,f=3D(new =
Date).getTime(),g=3D["<",b,">",c,"google_unique_id=3D",=0A=
a.google_unique_id,';google_async_iframe_id=3D"',d,'";google_start_time=3D=
',e,";google_bpp=3D",f>e?f-e:1,";",b,">",md(),""].join(""=
);Gc(function(){Hc();Uc(a,d,g)})},pd=3Dfunction(){var =
a=3D[];a=3Dfd;a=3Dnd()?[a.ASYNC_OK_ASYNC_LOADER,a.ASYNC_OK_BLOCKING_LOADE=
R,a.ASYNC_OK_NO_LOADER]:[a.NO_ASYNC_BLOCKING_LOADER,a.NO_ASYNC_NO_LOADER]=
;V().d(a,Ub,3)},qd=3Dfunction(){var =
a=3Dfd;V().d([a.ASYNC_OK_ASYNC_LOADER],1,3)},rd=3Dfunction(){var =
a=3DV().b(3),b=3Dfd;return =
a=3D=3Db.ASYNC_OK_ASYNC_LOADER},sd=3Dfunction(){var a=3DV().b(3),=0A=
b=3Dfd;return =
a=3D=3Db.ASYNC_OK_BLOCKING_LOADER||a=3D=3Db.NO_ASYNC_BLOCKING_LOADER};var=
=
td=3D{google:1,googlegroups:1,gmail:1,googlemail:1,googleimages:1,googlep=
rint:1};function =
ud(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 =
td;if(a.length>=3D2)b=3Db||a[a.length-2]in td;return b}=0A=
function vd(a,b,c){var =
d=3DO();if(ud(a))return!U(d,2,h);if(!T(d,2)){a=3DMath.random();if(a<=3Dc)=
{c=3D"http://"+ha()+"/pagead/test_domain.js";a=3D"script";b.write("<"+a+'=
src=3D"'+c+'">'+a+">");return U(d,2,h)}}return j}var =
wd=3Dfunction(a){var b=3DV();if(b.b(1)=3D=3D"44901228")return =
j;if(b.b(1)=3D=3D"44901229"||Math.random()0){var =
f=3De.length>1?e[1].url:i;d.push([a,ra(e[0].url),f])}c(e)}};X.prototype.G=
=3Dfunction(){this.m++};X.prototype.I=3Dfunction(a){this.f.push(a)};var =
yd=3D"http://"+v()+"/pagead/osd.js";X.prototype.D=3Dfunction(){if(!this.C=
){rb(M);pb(yd);this.C=3Dh}};=0A=
X.prototype.u=3Dfunction(a){if(this.m>0)for(var =
b=3Dthis.e.document.getElementsByTagName("iframe"),c=3Dthis.B?"google_ads=
_iframe_":"google_ads_frame",d=3D0;d0)for(var =
c=3Dthis.e.document.getElementsByTagName("a"),d=3D0;d0){f=3Dg;break}g=3Dg=
.parentNode}a(f,b[e][0]);b.splice(e,1);break}};X.prototype.w=3Dfunction(a=
){for(var b=3D0;b0){f=
or(var =
d=3D0;d1)c=3Da[0];return =
sa(c,=0A=
"\"'")},Gd=3D/[^\d]+$/,Hd=3Dfunction(a){return(a=3Da.match(Gd))&&a[0]||i}=
,Id=3D{cm:1,"in":1,mm:1,pc:1,pt:1},Jd=3D{em:1,ex:1},Kd=3Dfunction(a){var =
b=3DCd(a,"fontSize"),c=3DHd(b);if(b&&"px"=3D=3Dc)return =
parseInt(b,10);if(z)if(c in Id)return Ed(a,b,"left","pixelLeft");else =
if(a.parentNode&&a.parentNode.nodeType=3D=3D1&&c in =
Jd){a=3Da.parentNode;c=3DCd(a,"fontSize");return =
Ed(a,b=3D=3Dc?"1em":b,"left","pixelLeft")}c=3Deb("span",{style:"visibilit=
y:hidden;position:absolute;line-height:0;padding:0;margin:0;border:0;heig=
ht:1em;"});gb(a,=0A=
c);b=3Dc.offsetHeight;c&&c.parentNode&&c.parentNode.removeChild(c);return=
b};var Y=3D{};function Ld(a){if(a=3D=3D1)return h;return!Y[a]}function =
Md(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 Nd(){var =
a=3D[];C(Y,function(b){a.push(b)});return a.join(",")}function =
Od(a,b){if(n(a))for(var c=3D0;c'+c+">");var =
e=3Dvd(a,b,Vb);(d=3Dd||e)&&tb("msie")&&!window.opera?b.write("<"+c+' =
src=3D"http://'+v()+'/pagead/render_ads.js">'+c+">"):b.write("<"+c+'>go=
ogle_protectAndRun("ads_core.google_render_ad", google_handleError, =
google_render_ad);'+c+">")}var =
Z=3Dfunction(a){a=3Da.google_unique_id;if(typeof a=3D=3D"number")return =
a;return 0};=0A=
function $(a){return a!=3Di?'"'+a+'"':'""'}var Td=3Dfunction(a,b){var =
c=3Db.slice(-1),d=3Dc=3D=3D"?"||c=3D=3D"#"?"":"&",e=3D[b];c=3Dfunction(f,=
g){if(f||f=3D=3D=3D0||f=3D=3D=3Dj){if(typeof =
f=3D=3D"boolean")f=3Df?1:0;ob(e,d,g,"=3D",D(f));d=3D"&"}};C(a,c);return =
e.join("")};function Ud(){var =
a=3Dz&&A("6"),b=3DNa&&A("1.8.1"),c=3DOa&&A("525");if(Ua&&(a||b||c))return=
h;else if(Ta&&(c||b))return h;else if(Va&&b)return h;return j}=0A=
function Sd(){return(typeof =
ExpandableAdSlotFactory=3D=3D"function"||typeof =
ExpandableAdSlotFactory=3D=3D"object")&&typeof =
ExpandableAdSlotFactory.createIframe=3D=3D"function"}function =
Rd(a,b){if(a.google_allow_expandable_ads=3D=3D=3Dj||!b.body||a.google_ad_=
output!=3D"html"||Hb(a,b)||!Vd(a)||isNaN(a.google_ad_height)||isNaN(a.goo=
gle_ad_width)||!Ud()||b.domain!=3Da.location.hostname)return j;return =
h}function Vd(a){var b=3Da.google_ad_format;if(E(b))return =
j;if(wb(a)&&b!=3D"468x15_0ads_al")return j;return h}=0A=
function Wd(){var =
a;if(B.google_ad_output=3D=3D"html"&&!(wb(B)||E(B.google_ad_format))&&Ld(=
0)){a=3D["6083035","6083034"];a=3Dxb(a,bc);Md(a,0)}return =
a=3D=3D"6083035"}function =
Xd(a,b){if(!(L?Z(a)=3D=3D1:!Z(a))||E(a.google_ad_format))return"";var =
c=3D"",d=3Dwb(a);if(b=3D=3D"html"||d)c=3Dxb(["36815001","36815002"],Wb);i=
f(c=3D=3D""&&(b=3D=3D"js"||d))c=3Dxb(["36815003","36815004"],Zb);if(c=3D=3D=
""&&(b=3D=3D"html"||b=3D=3D"js"))c=3Dxb(["36813005","36813006"],$b);retur=
n c}=0A=
function Yd(){if(L)return"";var =
a=3DAd(),b=3Dwindow.google_enable_osd,c;if(b=3D=3D=3Dh){c=3D"36813006";Zd=
(c,a)}else =
if(b!=3D=3Dj&&Ld(0)){c=3Da.getEid();if(c=3D=3D"")(c=3DXd(window,String(wi=
ndow.google_ad_output||"")))&&Zd(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){Md(c,0);return c}return""}=0A=
function Zd(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=3DO();b.setupOsd(c,a,T(d,7).toString())}=0A=
function $d(a,b,c,d){L||ld(a);var =
e=3DZ(a);c=3DTd({ifi:e},c);c=3Dc.substring(0,1991);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'+$(aa(c))+">"+f+">");else =
if(a.google_ad_output=3D=3D"html")if(Pd&&Sd()){b=3Da.google_container_id|=
|d||i;a["google_expandable_ad_slot"+e]=3DExpandableAdSlotFactory.createIf=
rame("google_ads_frame"+e,aa(c),a.google_ad_width,=0A=
a.google_ad_height,b)}else{e=3D'';a.google_container_id?ae(a.google_container_i=
d,b,e):b.write(e)}return c}function be(a){pc(a)}=0A=
function ce(a){var b=3Ded().b(2)=3D=3D"44901217";if(!de(b))return =
j;b=3DWd();var =
c=3Dxd(window,Z(window));a=3Dee(a);b=3Dc+fe(a.google_ad_format,b);window.=
google_ad_url=3DTd(a,b);return h}=0A=
var =
je=3Dfunction(a){a.dt=3Dk;if(L&&window.google_bpp)a.bpp=3Dwindow.google_b=
pp;a.shv=3D"r20100607";var =
b=3DO(),c=3DT(b,8),d=3Dwindow.google_ad_section,e=3Dwindow.google_ad_form=
at,f=3Dwindow.google_ad_slot;if(c[d])E(e)||(a.prev_fmts=3Dc[d]);var =
g=3DT(b,9);if(g[d])a.prev_slotnames=3Dg[d].toLowerCase();if(e){if(!E(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)&&!ad(b))a.dblk=3D1;if(window.goo=
gle_ad_channel){c=3DT(b,10);d=3D"";e=3Dwindow.google_ad_channel.split(ge)=
;=0A=
for(f=3D0;f-1){for(=
f=3D0;f0&&b.length>0)a.eid+=3D",";a.eid+=3Db};funct=
ion re(a,b,c,d){a=3Dic(a,b,c,d);Qd(window,document);return a}function =
se(){oc()}=0A=
function te(a){var =
b=3D{};a=3Da.split("?");a=3Da[a.length-1].split("&");for(var =
c=3D0;c1?wind=
ow.decodeURIComponent?decodeURIComponent(d[1].replace(/\+/g," =
")):unescape(d[1]):""}catch(e){}}return b}function ue(){var =
a=3Dwindow,b=3Dte(document.URL);if(b.google_ad_override){a.google_ad_over=
ride=3Db.google_ad_override;a.google_adtest=3D"on"}}=0A=
function =
ae(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 fe=3Dfunction(a,b){var c;return =
c=3DE(a)?"/pagead/sdo?":b?"/pagead/render_iframe_ads.html#":"/pagead/ads?=
"},ve=3Dfunction(a,b){b.dff=3DFd(a);b.dfs=3DKd(a)},we=3Dfunction(a){a.ref=
=3Dwindow.google_referrer_url;a.loc=3Dwindow.google_page_location},de=3Df=
unction(a){var =
b=3DO(),c=3DT(b,8),d=3DT(b,9),e=3Dwindow.google_ad_section;if(E(window.go=
ogle_ad_format)){if(U(b,4,T(b,4)+1)>4&&!a)return j}else =
if(wb(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){kc(1);c[e]=3D""=
;=0A=
d[e]=3D"";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},ee=3Dfunction(a){var =
b=3D{};pe(b);je(b);yb(b);a&&ve(a,b);ke(b);le(b);qe(b);we(b);b.fu=3Djc;ret=
urn b},oe=3Dfunction(a){var =
b=3Dwindow.google_container_id,c=3Db&&$a(b)||$a(a);if(!c&&!b&&a){document=
.write(" ");c=3D$a(a)}return c},ge=3D/[+, =
]/;window.google_render_ad=3Dne;var xe=3Dfunction(){ue();L&&qd();var =
a=3Dwindow.google_start_time;if(typeof =
a=3D=3D"number"){k=3Da;window.google_start_time=3Di}gc("show_ads.google_i=
nit_globals",re,se);Qd(window,document)},ye=3Dfunction(){window.google_st=
art_time=3Dk;document.write(md())},ze=3Dfunction(){ld(window);od(window)}=
;function Ae(){if(fc&&typeof =
B.alternateShowAds=3D=3D"function")B.alternateShowAds.call(i);else =
if(dc)xe();else{Z(window)||pd();if(rd())ze();else =
sd()?ye():xe()}}gc("show_ads.main",ic,Ae);})()=0A=
------=_NextPart_000_0000_01CB0E1F.0A1F7580
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_01CB0E1F.0A1F7580
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_01CB0E1F.0A1F7580
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_01CB0E1F.0A1F7580
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://kona.kontera.com/javascript/lib/KonaLibInline.js
var =
KONA_VERSION=3D"2010_06_17_3";if(typeof("konaBeenHere")!=3D=3D"undefined"=
){konaBeenHere=3D1;var TWEAK_MODE_DEFAULT=3D0;var =
konaTweakMode=3DTWEAK_MODE_DEFAULT;if(typeof(KONTERA_INTERFACE)=3D=3D"und=
efined"){KONTERA_INTERFACE=3D{}}var debugMode=3Dfalse;var =
konalogMode=3Dfalse;if(typeof(konaSuffix)=3D=3D"undefined"){var =
konaSuffix=3D"?00000000482";var isKonaFirst=3Dtrue}else{var =
isKonaFirst=3Dfalse}if(window.KONA_PREV_VERSION){var =
konaRandomAbPushTest=3DMath.random()*100;if(konaRandomAbPushTest<90){KONA=
_VERSION=3DKONA_PREV_VERSION}else{konaTweakMode|=3D(1<<2)}}if(getQueryVar=
iable("konadir")){KONA_VERSION=3DgetQueryVariable("konadir")}var =
konaDate=3D"24_03_2010";if(typeof(konaIsYahoo)=3D=3D=3D"undefined"){konaI=
sYahoo=3D(dc_PublisherID=3D=3D139449)}var =
bOpera=3D(navigator.userAgent.toLowerCase().indexOf("opera")!=3D-1);var =
bAvant=3D(navigator.userAgent.toLowerCase().indexOf("avant")!=3D-1);var =
bIE=3D(!bOpera&&navigator.appName.indexOf("Microsoft")!=3D-1);var =
bIE6=3D(bIE&&navigator.userAgent.charAt(30)=3D=3D6);var =
bIE8=3D(bIE&&navigator.userAgent.indexOf("MSIE 8")!=3D-1);var =
bChrome=3D(navigator.userAgent.toLowerCase().indexOf("chrome")!=3D-1);var=
bFlock=3D(navigator.userAgent.toLowerCase().indexOf("flock")!=3D-1);var =
bSafari=3D(navigator.userAgent.toLowerCase().indexOf("safari")!=3D-1);var=
bMozilla=3D(!bOpera&&!bIE&&!bSafari&&!bFlock);var =
bFireFox2=3D(bMozilla&&(navigator.userAgent.indexOf("Firefox/2")!=3D-1));=
var =
bFireFox3=3D(bMozilla&&(navigator.userAgent.indexOf("Firefox/3")!=3D-1));=
var =
bUnknown=3D(!bMozilla&&!bFireFox2&&!bFireFox3);if(typeof(HTTP_KONA)=3D=3D=
=3D"undefined"){var =
HTTP_KONA=3D"http://kona.kontera.com"}if(typeof(HTTP_KONAC)=3D=3D=3D"unde=
fined"){var HTTP_KONAC=3D"http://konac.kontera.com"}var =
HTTP_KONAX=3D"http://konax.kontera.com";var =
HTTP_IMAGES=3D"http://images.kontera.com";if(window.location.protocol=3D=3D=
"https:"){HTTP_KONA=3D"https://secure-js.kontera.com";HTTP_KONAC=3D"https=
://secure-js.kontera.com";HTTP_IMAGES=3D"https://secure-js.kontera.com"}i=
f(getQueryVariable("konaip")){HTTP_KONA=3D"http://"+getQueryVariable("kon=
aip");HTTP_KONAC=3D"http://"+getQueryVariable("konaip")}var =
HTTP_KONTERA_BASE=3DHTTP_KONA;if((typeof(window.dc_ArticleDate)=3D=3D=3D"=
undefined")&&window.konaIsYahoo){window.dc_ArticleDate=3D"No_Date"}var =
konaUserID=3D"";var konaSessionID=3D"";var konaBaseHere=3Dfalse;var =
konaRetry=3D300;var delayJSFlowBY=3D-1;var isNewLayer=3Dfalse;var =
isBritannicaFF3=3DbFireFox3;var problematicAdverisers=3Dnew =
Array();if(!KONTERA_INTERFACE.write){KONTERA_INTERFACE.write=3Dfunction(a=
){document.write(a)}}if(typeof(window.dc_flowMode)=3D=3D"undefined"){wind=
ow.dc_flowMode=3D0}if(typeof(window.dc_flowByCommand)=3D=3D"undefined"){w=
indow.dc_flowByCommand=3Dfalse}if(window.dc_flowMode=3D=3D1||window.dc_fl=
owMode=3D=3D3){if(typeof(window.dc_startInterval)=3D=3D"undefined"){windo=
w.dc_startInterval=3D0}else{window.delayJSFlowBY=3Dwindow.dc_startInterva=
l}}var =
isDynamicContent;if(window.dc_flowMode=3D=3D2){isDynamicContent=3Dtrue}if=
(window.dc_flowMode=3D=3D3){dc_flowByCommand=3Dtrue}if(dc_PublisherID=3D=3D=
31107){dc_PublisherID=3D87143}var konaHCdemo=3D-1;var =
konaThisURL=3Dwindow.location.toString();var isRestrictedUrl=3Dfalse;var =
konaHCdemoUrls=3Dnew =
KonaHash("http://www.mensfitness.com/nutrition/vitamins/194",0,"http://ww=
w.mensfitness.com/sports_and_recreation/outdoor_recreation/55",1,"http://=
www.mensfitness.com/Tshirt_Workout/fitness/ab_exercises/136?cid=3DRSS",2,=
"http://www.shape.com/workouts/articles/workout_schedule.html",3,"http://=
www.shape.com/workouts/articles/blood_sugar.html",4,"http://www.huffingto=
npost.com/2008/11/16/paul-mccartney-hopes-to-r_n_144138.html",5);if(konaH=
CdemoUrls.hasItem(konaThisURL)){konaHCdemo=3DkonaHCdemoUrls.getItem(konaT=
hisURL)}konaHCdemoUrls=3Dnull;var hybridGroup=3Dnew =
KonaHash(7792,1,10747,1,47839,1,52730,1,32100,1,38144,1,64727,1,70447,1,7=
0448,1,73310,1);if(hybridGroup.hasItem(dc_PublisherID)){if((dc_PublisherI=
D!=3D32100)&&(dc_PublisherID!=3D7792)&&(dc_PublisherID!=3D10747)){konaTwe=
akMode|=3D32768}}var =
dynamicContentPubs=3D[50635,50201,50629,50630];isDynamicContent|=3DisInAr=
ray(dynamicContentPubs,dc_PublisherID);var =
isForcedDynamicContent=3Dfalse;var forcedDynamicContentPubs=3Dnew =
KonaHash(104880,bIE);if(forcedDynamicContentPubs.hasItem(dc_PublisherID))=
{isForcedDynamicContent=3DforcedDynamicContentPubs.getItem(dc_PublisherID=
)}if(dc_PublisherID=3D=3D48817){var restrictedUrlGroup=3Dnew =
Array("http://it.toolbox.com/blogs/ppmtoday","http://it.toolbox.com/blogs=
/db2luw","http://it.toolbox.com/blogs/db2zos","http://it.toolbox.com/blog=
s/elsua","http://it.toolbox.com/blogs/database-talk","http://it.toolbox.c=
om/blogs/penguinista-databasiensis","http://it.toolbox.com/blogs/juice-an=
alytics","http://it.toolbox.com/blogs/minimalit","http://it.toolbox.com/b=
logs/database-soup","http://blogs.ittoolbox.com/pm/ppm");for(var =
j=3D0;j0||(konaTweakMode&32768)>0)){if(checkFlashSupportForHy=
brid()){isHybridForLinuxFlag=3Dtrue;sName=3D"FlashKonaLibBaseRM.js"}}if(!=
isNewLayer){var =
randCDN=3DMath.random()*100;if(randCDN<=3D20){konaTweakMode|=3D33554432;H=
TTP_KONTERA_BASE=3DHTTP_KONAC}else{HTTP_KONTERA_BASE=3DHTTP_KONA}}if(adPr=
eviewMode){var sName=3D"KonaBase.js"}}var =
isCalledKonaBase=3Dfalse;String.format=3Dfunction(){if(arguments.length=3D=
=3D0){return null}var c=3Darguments[0];for(var =
a=3D1;a0){setTimeout("trace('"+a+"')",500)}else{t=
ryToTraceRounds=3Dnull}}}var =
tryToTraceRounds=3D5;if(getQueryVariable("konaDebug")=3D=3D"on"){debugMod=
e=3Dtrue}function logit(a){trace(a)}if(debugMode){var =
jsTrace=3D{debugging_on:false,window:null,viewport:null,buffer:"",init:fu=
nction(){if(!document.getElementsByTagName||!document.getElementById||!do=
cument.createElement||!document.createTextNode){return}jsTrace.createWind=
ow();jsTrace.getCookie();jsTrace.debugging_on=3Dtrue},createWindow:functi=
on(){jsTrace.window=3Ddocument.createElement("div");jsTrace.window.id=3D"=
jsTrace";jsTrace.window.style.background=3D"#000";jsTrace.window.style.fo=
nt=3D'80% "Lucida Grande", "Lucida Sans Unicode", =
sans-serif';jsTrace.window.style.padding=3D"2px";jsTrace.window.style.pos=
ition=3D"absolute";jsTrace.window.style.top=3D"50px";jsTrace.window.style=
.left=3D"700px";jsTrace.window.style.height=3D"360px";jsTrace.window.styl=
e.zIndex=3D"100";jsTrace.window.style.minHeight=3D"150px";jsTrace.window.=
style.width=3D"190px";jsTrace.window.style.minWidth=3D"150px";var =
f=3Ddocument.createElement("span");f.style.border=3D"1px solid =
#000";f.style.cursor=3D"pointer";f.style.color=3D"#000";f.style.display=3D=
"block";f.style.lineHeight=3D".5em";f.style.padding=3D"0 0 =
3px";f.style.position=3D"absolute";f.style.top=3D"4px";f.style.right=3D"4=
px";f.setAttribute("title","Close jsTrace =
Debugger");f.appendChild(document.createTextNode("x"));jsTrace.addEvent(f=
,"click",function(){jsTrace.killWindow()});jsTrace.window.appendChild(f);=
var =
c=3Ddocument.createElement("div");c.style.position=3D"absolute";c.style.b=
ottom=3D"3px";c.style.right=3D"3px";var =
e=3Ddocument.createElement("span");e.style.border=3D"5px solid =
#ccc";e.style.borderLeftColor=3De.style.borderTopColor=3D"#000";e.style.c=
ursor=3D"pointer";e.style.color=3D"#ccc";e.style.display=3D"block";e.styl=
e.height=3D"0";e.style.width=3D"0";e.style.overflow=3D"hidden";e.setAttri=
bute("title","Resize the jsTrace =
Debugger");if(typeof(KonaDrag)!=3D"undefined"){e.xFrom=3D0;e.yFrom=3D0;Ko=
naDrag.init(e,null,null,null,null,null,true,true);e.onDrag=3Dfunction(l,m=
){jsTrace.resizeX(l,this);jsTrace.resizeY(m,this);jsTrace.adjustViewport(=
)};e.onDragEnd=3Dfunction(){jsTrace.setCookie()};c.appendChild(e);jsTrace=
.window.appendChild(c)}var =
d=3Ddocument.createElement("div");d.style.fontSize=3D"12px";d.style.textT=
ransform=3D"uppercase";d.style.lineHeight=3D"18px";d.style.position=3D"ab=
solute";d.style.bottom=3D"5px";d.style.left=3D"4px";var h=3Dnew =
Array();h.push(["delimit","Add a =
Delimeter",function(){jsTrace.sendDelimeter()}]);h.push(["clear","Clear =
the Window",function(){jsTrace.clearWindow()}]);var k=3Dh.length;var =
a,g;for(var =
a=3D0;a ";if(jsTrace.viewport=3D=3Dnull){jsTrace.buffer+=3Da}else{jsTrace.viewp=
ort.innerHTML+=3Da;jsTrace.scrollWithIt()}},sendBuffer:function(){if(jsTr=
ace.viewport=3D=3Dnull){jsTrace.timer=3Dwindow.setTimeout("jsTrace.sendBu=
ffer()",500)}else{jsTrace.viewport.innerHTML+=3DjsTrace.buffer;jsTrace.sc=
rollWithIt();jsTrace.killTimer()}},scrollWithIt:function(){jsTrace.viewpo=
rt.scrollTop=3DjsTrace.viewport.scrollHeight},killWindow:function(){jsTra=
ce.window.parentNode.removeChild(jsTrace.window);jsTrace.debugging_on=3Df=
alse},setCookie:function(){var b=3DjsTrace.window.style.top+" =
"+jsTrace.window.style.left;var a=3DjsTrace.window.style.height+" =
"+jsTrace.window.style.width;document.cookie=3D"jsTrace=3D"+escape(b+" =
"+a)},getCookie:function(){if(!document.cookie){return}var =
f=3Ddocument.cookie;var d=3Df.indexOf("jsTrace=3D");if(d!=3D-1){var =
e=3Dd+"jsTrace=3D".length;var a=3Df.indexOf(";",e);var =
c=3D(a!=3D-1)?f.substring(e,a):f.substring(e);c=3Dunescape(c);var =
b=3Dc.split(" =
");jsTrace.window.style.top=3Db[0];jsTrace.window.style.left=3Db[1];jsTra=
ce.window.style.height=3Db[2];jsTrace.window.style.width=3Db[3];jsTrace.a=
djustViewport()}},timer:null,killTimer:function(){clearTimeout(jsTrace.ti=
mer)},addEvent:function(c,b,a){if(c.addEventListener){c.addEventListener(=
b,a,false)}else{if(c.attachEvent){c["e"+b+a]=3Da;c[b+a]=3Dfunction(){c["e=
"+b+a](window.event)};c.attachEvent("on"+b,c[b+a])}}},removeEvent:functio=
n(c,b,a){if(c.removeEventListener){c.removeEventListener(b,a,false)}else{=
if(c.detachEvent){c.detachEvent("on"+b,c[b+a]);c[b+a]=3Dnull;c["e"+b+a]=3D=
null}}},sendDelimeter:function(){jsTrace.send('-------------------- ')},clearWindow:function(){jsTrace.viewp=
ort.innerHTML=3D""}};jsTrace.addEvent(window,"load",jsTrace.init);jsTrace=
.addEvent(window,"load",jsTrace.sendBuffer)}var KonaJSfiles=3Dnew =
Array();if(isNewLayer){KonaJSfiles[KonaJSfiles.length]=3DbasePublisherPat=
h+"designParams.js"+konaSuffix}else{if(window.location.protocol=3D=3D"htt=
p:"){KonaJSfiles[KonaJSfiles.length]=3DHTTP_KONAX+"/publisher_tail/genera=
tedPublisherConfig.js?publisher_id=3D"+dc_PublisherID}}KonaJSfiles[KonaJS=
files.length]=3DHTTP_KONTERA_BASE+"/javascript/lib/"+KONA_VERSION+"/"+sNa=
me;function =
startDynamicContentFlow(){if(window.dc_flowMode!=3D3){delayJSFlowBY=3D300=
0;isDynamicContent=3Dtrue;if(!isCalledKonaBase){isCalledKonaBase=3Dtrue;v=
ar b;for(var =
a=3D0;a0){setTimeout(funct=
ion(){startDynamicContentFlow()},75);return}}}}if(typeof(dc_PublisherID)!=
=3D"undefined"){var scriptTags=3D"";var =
disableKontera=3DreadCookie("KonteraContentLink");var =
disableInfra=3DreadCookie("disable_kontera");var =
tagID=3DscriptTagId();if(isRestrictedUrl||(isHybridForLinuxFlag&&(!isWind=
ows()&&!isMac()))||(!checkFlashSupportForHybrid()&&(hybridGroup.hasItem(d=
c_PublisherID)))||disableKontera||disableInfra||dc_PublisherID=3D=3D73310=
||isDynamicContent||!isKonaFirst){}else{for(var =
i=3D0;i";KONTERA_INTERFACE.write(scriptTags)=
}}}hybridGroup=3Dnull;function scriptTagId(){var =
a=3D"";switch(dc_PublisherID){case =
503:if(bIE6){a=3D"ID=3D'catfish-wrap'"}break;default:break}return =
a}function =
isWindows(){if(navigator.userAgent.indexOf("Windows")!=3D-1){return =
true}else{return false}}function =
isMac(){if(navigator.userAgent.indexOf("Mac")!=3D-1){return =
true}else{return false}}function getQueryVariable(b){var a=3D"";var =
d=3Dwindow.location.search.substring(1);var f=3Dnull;var =
e=3Dd.split("&");for(var =
c=3D0;c-1){d=3Dd.substring(0,d.indexOf("/"))}c=3D0}else{if(b.indexOf("http=
://")=3D=3D0||b.indexOf("https://")=3D=3D0){var =
a=3Db.indexOf("http://")+7;d=3D(b.substring(a,b.length));var =
e=3D0;for(i=3D0;i1){d=3D=
(d.substring(d.indexOf(".")+1,d.length))}if(d.indexOf("/")>-1){d=3Dd.subs=
tring(0,d.indexOf("/"))}c=3D1}else{if(b.indexOf("/")>-1){var =
a=3Db.indexOf("/");d=3D(b.substring(0,a));c=3D2}}}if(d.length<=3D4){d=3Db=
}return d}function isInArray(c,b){for(var =
a=3D0;a=3D8){hasRMFlashSupport=3Dtrue}}function =
checkFlashSupportForHybrid(){var =
a=3DgetFlashVersion();if(a[0]>=3D9){return true}return false}function =
getFlashFullVersion(){var =
b=3D"?";if(navigator.plugins&&navigator.mimeTypes.length){var =
a=3Dnavigator.plugins["Shockwave Flash"];if(a&&a.description){return =
a.description}}else{try{var c=3Dnew =
ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(d){try{var =
c=3Dnew =
ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");b=3D[6,0,21];c.AllowScri=
ptAccess=3D"always"}catch(d){if(b[0]=3D=3D6){return b}}try{c=3Dnew =
ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(d){}}if(c!=3Dnull&&c=
.GetVariable("$version")){return c.GetVariable("$version")}}return =
b}function getFlashVersion(){var =
b=3D[0,0,0];if(navigator.plugins&&navigator.mimeTypes.length){var =
a=3Dnavigator.plugins["Shockwave =
Flash"];if(a&&a.description){b=3Da.description.replace(/([a-zA-Z]|\s)+/,"=
").replace(/(\s+r|\s+b[0-9]+)/,".").split(".")}}else{try{var c=3Dnew =
ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(d){try{var =
c=3Dnew =
ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");b=3D[6,0,21];c.AllowScri=
ptAccess=3D"always"}catch(d){if(b[0]=3D=3D6){return b}}try{c=3Dnew =
ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(d){}}if(c!=3Dnull){b=
=3Dc.GetVariable("$version").split(" ")[1].split(",")}}return b};
------=_NextPart_000_0000_01CB0E1F.0A1F7580
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 _qhash2(h,s){=0A=
for(var i=3D0;i0){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 _qcp(p, myqo)=0A=
{=0A=
var s=3D'',a=3Dnull;=0A=
var media=3D'webpage',event=3D'load';=0A=
if(myqo!=3Dnull){=0A=
for(var k in myqo){=0A=
if(typeof(k)!=3D'string'){continue;}=0A=
if(typeof(myqo[k])!=3D'string'){continue;}=0A=
if(k=3D=3D'qacct'){=0A=
a=3Dmyqo[k];=0A=
continue;=0A=
}=0A=
s+=3D';'+k+p+'=3D'+_qceuc(myqo[k]);=0A=
if(k=3D=3D'media'){media=3Dmyqo[k];}=0A=
if(k=3D=3D'event'){event=3Dmyqo[k];}=0A=
}=0A=
}=0A=
if (typeof a !=3D"string"){=0A=
if((typeof _qacct =3D=3D"undefined")||(_qacct.length=3D=3D0))return'';=0A=
a=3D_qacct;=0A=
}=0A=
if (media=3D=3D'webpage' && event=3D=3D'load'){=0A=
for(var i=3D0;i<_qpixelsent.length;i++){=0A=
if(_qpixelsent[i]=3D=3Da)return'';=0A=
}=0A=
_qpixelsent.push(a);=0A=
}=0A=
if (media=3D=3D'ad'){_qad=3D1;}=0A=
s=3D';a'+p+'=3D'+a+s;=0A=
return s;=0A=
}=0A=
function _qcesc(s){=0A=
return s.replace(/\./g,'%2E').replace(/,/g,'%2C');=0A=
}=0A=
function _qcd(o){=0A=
return (typeof(o)!=3D"undefined" && o!=3Dnull);=0A=
}=0A=
function _qcogl(){=0A=
var m=3Ddocument.getElementsByTagName('meta');=0A=
var o=3D'';=0A=
for(var i=3D0;i=3D1000)return o;=0A=
=
if(_qcd(m[i])&&_qcd(m[i].attributes)&&_qcd(m[i].attributes.property)&&_qc=
d(m[i].attributes.property.value)&&_qcd(m[i].content)){=0A=
var p=3Dm[i].attributes.property.value;=0A=
var c=3Dm[i].content;=0A=
if(p.length>3&&p.substring(0,3)=3D=3D'og:'){=0A=
if(o.length>0)o+=3D',';=0A=
var l=3D(c.length>80)?80:c.length;=0A=
o+=3D_qcesc(p.substring(3,p.length))+'.'+_qcesc(c.substring(0,l));=0A=
}=0A=
}=0A=
}=0A=
return _qceuc(o);=0A=
}=0A=
function quantserve(){=0A=
var e=3D(typeof(encodeURIComponent)=3D=3D'function')?"n":"s";=0A=
var r=3D_qcrnd();=0A=
var sr=3D'',qo=3D'',qm=3D'',url=3D'',ref=3D'',je=3D'u',ns=3D'1';=0A=
var qocount=3D0;=0A=
_qad=3D0;=0A=
if(typeof _qpixelsent =3D=3D"undefined"){=0A=
_qpixelsent=3D new Array();=0A=
}=0A=
if(typeof _qoptions !=3D"undefined" && _qoptions!=3Dnull){=0A=
var _qopts=3D_qoptions;_qoptions=3Dnull;=0A=
for(var k in _qopts){=0A=
if(typeof(_qopts[k])=3D=3D'string'){=0A=
qo=3D_qcp("", _qopts);=0A=
break;=0A=
}else if(typeof(_qopts[k])=3D=3D'object' && _qopts[k]!=3Dnull){=0A=
++qocount;=0A=
qo+=3D_qcp("."+qocount, _qopts[k]);=0A=
}=0A=
}=0A=
}else if (typeof _qacct =3D=3D"string"){=0A=
qo=3D_qcp("",null);=0A=
}=0A=
if(qo.length=3D=3D0)return;=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=
var dg=3D"E12769-W-MS-8";=0A=
var qs=3D"http://pixel.quantserve.com";=0A=
var fp=3D_qcsc();=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=
var ogl=3D_qcogl();=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+';enc=3D'+e+';ogl=3D'+ogl+';dg=3D=
'+dg+';dst=3D'+dst+';et=3D'+d.getTime()+';tzo=3D'+d.getTimezoneOffset()+q=
o+qm;=0A=
_qimg.onload=3Dfunction() {_qpxload();}=0A=
}=0A=
quantserve();=0A=
------=_NextPart_000_0000_01CB0E1F.0A1F7580--