/*if (window.document.all && !window.document.getElementById) {
window.document.getElementById=function() {
return document.all[arguments[0]];
}
}*/

/*DomPatch v3.03beta (c) 2001 EBU */if(window.Layer&&window.Document&&!window.Document.prototype.getElementById){window.Document.prototype.getElementById=function(){if(this.layers[arguments[0]]&&this.layers[arguments[0]].complete){return this.layers[arguments[0]];}for(var c=0;c<this.layers.length;c++){var f=this.layers[c].document.getElementById(arguments[0]);if(f){return f;}}if(this.anchors[arguments[0]]){this.anchors[arguments[0]].offsetParent=this.layer;this.anchors[arguments[0]].parentElement=this.layer;this.anchors[arguments[0]].offsetLeft=this.anchors[arguments[0]].x;this.anchors[arguments[0]].offsetTop=this.anchors[arguments[0]].y;this.anchors[arguments[0]].innerHTML=this.anchors[arguments[0]].text;return this.anchors[arguments[0]];}if(this.images[arguments[0]]){this.images[arguments[0]].offsetParent=this.layer;this.images[arguments[0]].parentElement=this.layer;this.images[arguments[0]].offsetLeft=this.images[arguments[0]].x;this.images[arguments[0]].offsetTop=this.images[arguments[0]].y;return this.images[arguments[0]];}if(this.forms[arguments[0]]){return this.forms[arguments[0]];}for(var c=0;c<this.forms.length;c++){var f=this.forms[c].elements[arguments[0]];if(f){return f;}}if(this.applets[arguments[0]]){return this.applets[arguments[0]];}if(this.embeds[arguments[0]]){return this.embeds[arguments[0]];}return null;};window.Layer.prototype.onload=function(){this.document.layer=this;if(this.parentLayer!=window){this.offsetParent=this.parentLayer;this.parentElement=this.parentLayer;}this.offsetWidth=this.document.width;this.offsetHeight=this.document.height;this.watch('innerHTML',function(){this.document.open();this.document.write(arguments[2]);this.document.close();return arguments[2];});if(this.onmouseup){this.captureEvents(Event.MOUSEUP);}this.watch('onmouseup',function(){if(arguments[2]){this.captureEvents(Event.MOUSEUP);}else{this.releaseEvents(Event.MOUSEUP);}return arguments[2];});if(this.onmousedown){this.captureEvents(Event.MOUSEDOWN);}this.watch('onmousedown',function(){if(arguments[2]){this.captureEvents(Event.MOUSEDOWN);}else{this.releaseEvents(Event.MOUSEDOWN);}return arguments[2];});if(this.onclick){this.captureEvents(Event.CLICK);}this.watch('onclick',function(){if(arguments[2]){this.captureEvents(Event.CLICK);}else{this.releaseEvents(Event.CLICK);}return arguments[2];});if(this.ondblclick){this.captureEvents(Event.DBLCLICK);}this.watch('ondblclick',function(){if(arguments[2]){this.captureEvents(Event.DBLCLICK);}else{this.releaseEvents(Event.DBLCLICK);}return arguments[2];});if(this.onclick){this.captureEvents(Event.CLICK);}this.watch('onclick',function(){if(arguments[2]){this.captureEvents(Event.CLICK);}else{this.releaseEvents(Event.CLICK);}return arguments[2];});this.style=new Object();this.style.layer=this;if(this.visibility=='show'){this.style.visibility='visible';}else if(this.visibility=='hide'){this.style.visibility='hidden';}else{this.style.visibility=this.visibility;}this.style.watch('visibility',function(){if(arguments[2]=='visible'){this.layer.visibility='show';}else if(arguments[2]=='hidden'){this.layer.visibility='hide';}else{this.layer.visibility=arguments[2];}return arguments[2];});this.style.left=this.left;if(this.offsetLayer){this.offsetLeft=this.pageX-this.offsetLayer.pageX;}else{this.offsetLeft=this.pageX;}this.style.watch('left',function(){this.layer.left=arguments[2];if(this.layer.offsetLayer){this.layer.offsetLeft=this.layer.pageX-this.layer.offsetLayer.pageX;}else{this.layer.offsetLeft=this.layer.pageX;}return arguments[2];});this.style.top=this.top;if(this.offsetLayer){this.offsetTop=this.pageY-this.offsetLayer.pageY;}else{this.offsetTop=this.pageY;}this.style.watch('top',function(){this.layer.top=arguments[2];if(this.layer.offsetLayer){this.layer.offsetTop=this.layer.pageY-this.layer.offsetLayer.pageY;}else{this.layer.offsetTop=this.layer.pageY;}return arguments[2];});this.style.zIndex=this.zIndex;this.style.watch('zIndex',function(){this.layer.zIndex=arguments[2];return arguments[2];});this.style.backgroundColor=this.bgColor;this.style.watch('backgroundColor',function(){if(arguments[2]){this.layer.bgColor=arguments[2];}else{this.layer.bgColor=null;}return arguments[2];});this.style.watch('clip',function(){var clipArray=arguments[2].substring(arguments[2].indexOf('rect(')+5,arguments[2].indexOf(')')).split(' ');if(clipArray.length==4){this.layer.clip.left=Math.max(0,parseFloat(clipArray[3]));this.layer.clip.top=Math.max(0,parseFloat(clipArray[0]));this.layer.clip.right=Math.max(0,parseFloat(clipArray[1]));this.layer.clip.bottom=Math.max(0,parseFloat(clipArray[2]));}else{this.layer.clip.left=0;this.layer.clip.top=0;this.layer.clip.right=this.layer.offsetWidth;this.layer.clip.bottom=this.layer.offsetHeight;}return arguments[2];});this.complete=true;};window.onclick=function(){var r=true;routeEvent(arguments[0]);if(arguments[0].target!=window.document){r=window.document.onclick(arguments[0]);}return r;};window.document.watch('onclick',function(){if(arguments[2]){window.captureEvents(Event.CLICK);}else{window.releaseEvents(Event.CLICK);}return arguments[2];});window.ondblclick=function(){var r=true;routeEvent(arguments[0]);if(arguments[0].target!=window.document){r=window.document.ondblclick(arguments[0]);}return r;};window.document.watch('ondblclick',function(){if(arguments[2]){window.captureEvents(Event.DBLCLICK);}else{window.releaseEvents(Event.DBLCLICK);}return arguments[2];});window.onmouseup=function(){var r=true;routeEvent(arguments[0]);if(arguments[0].target!=window.document){r=window.document.onmouseup(arguments[0]);}return r;};window.document.watch('onmouseup',function(){if(arguments[2]){window.captureEvents(Event.MOUSEUP);}else{window.releaseEvents(Event.MOUSEUP);}return arguments[2];});window.onmousedown=function(){var r=true;routeEvent(arguments[0]);if(arguments[0].target!=window.document){r=window.document.onmousedown(arguments[0]);}return r;};window.document.watch('onmousedown',function(){if(arguments[2]){window.captureEvents(Event.MOUSEDOWN);}else{window.releaseEvents(Event.MOUSEDOWN);}return arguments[2];});window.onmouseover=function(){var r=true;routeEvent(arguments[0]);if(arguments[0].target!=window.document){r=window.document.onmouseover(arguments[0]);}return r;};window.document.watch('onmouseover',function(){if(arguments[2]){window.captureEvents(Event.MOUSEOVER);}else{window.releaseEvents(Event.MOUSEOVER);}return arguments[2]});window.onmouseout=function(){var r=true;routeEvent(arguments[0]);if(arguments[0].target!=window.document){r=window.document.onmouseout(arguments[0]);}return r;};window.document.watch('onmouseout',function(){if(arguments[2]){window.captureEvents(Event.MOUSEOUT);}else{window.releaseEvents(Event.MOUSEOUT);}return arguments[2];});window.onmousemove=function(){var r=true;routeEvent(arguments[0]);if(arguments[0].target!=window.document){r=window.document.onmousemove(arguments[0]);}return r;};window.document.watch('onmousemove',function(){if(arguments[2]){window.captureEvents(Event.MOUSEMOVE);}else{window.releaseEvents(Event.MOUSEMOVE);}return arguments[2];});window.onkeypress=function(){var r=true;routeEvent(arguments[0]);if(arguments[0].target!=window.document){r=window.document.onkeypress(arguments[0]);}return r;};window.document.watch('onkeypress',function(){if(arguments[2]){window.captureEvents(Event.KEYPRESS);}else{window.releaseEvents(Event.KEYPRESS);}return arguments[2];});window.onkeyup=function(){var r=true;routeEvent(arguments[0]);if(arguments[0].target!=window.document){r=window.document.onkeyup(arguments[0]);}return r;};window.document.watch('onkeyup',function(){if(arguments[2]){window.captureEvents(Event.KEYUP);}else{window.releaseEvents(Event.KEYUP);}return arguments[2];});window.onkeydown=function(){var r=true;routeEvent(arguments[0]);if(arguments[0].target!=window.document){r=window.document.onkeydown(arguments[0]);}return r;};window.document.watch('onkeydown',function(){if(arguments[2]){window.captureEvents(Event.KEYDOWN);}else{window.releaseEvents(Event.KEYDOWN);}return arguments[2];});}else if(!window.document.getElementById&&window.document.all){window.document.getElementById=function(){return this.all[arguments[0]];};}

/*JsHTML v1.52 (c) 2001 Fabrique, EBU */window.endHTMLCollection=new Array();window.getEndHTML=function(){var e=window.endHTMLCollection[window.endHTMLCollection.length-1];window.endHTMLCollection.length--;return e;};window.setEndHTML=function(){window.endHTMLCollection[window.endHTMLCollection.length]=arguments[0];};window.getLayerStartHTML=function(){var s='';var e='';if(window.document.layers){var styleArray=new Array();if(arguments[1]){styleArray=arguments[1].split(";");}for(var c=0;c<styleArray.length;c++){var a=styleArray[c].split(":");styleArray[a[0]]=a[1];}if(styleArray["position"]!="absolute"){s+='<ilayer';if(styleArray["z-index"]){s+=' z-index="'+styleArray["z-index"]+'"';}else{s+=' z-index="0"';}s+='>';}s+='<layer';if(arguments[0]){s+=' name="'+arguments[0]+'"';}if(styleArray["visibility"]){if(styleArray["visiblity"]=="hidden"){s+=' visibility="hide"';}else if(styleArray["visiblity"]=="visible"){s+=' visibility="show"';}else{s+=' visibility="'+styleArray["visibility"]+'"';}}if(styleArray["left"]){s+=' left="'+styleArray["left"]+'"';}if(styleArray["top"]){s+=' top="'+styleArray["top"]+'"';}if(styleArray["width"]){s+=' width="'+styleArray["width"]+'"';}if(styleArray["height"]){s+=' height="'+styleArray["height"]+'"';}if(styleArray["z-index"]){s+=' z-index="'+styleArray["z-index"]+'"';}else{s+=' z-index="0"';}if(styleArray["clip"]){var clipArray=styleArray["clip"].substring(styleArray["clip"].indexOf('rect(')+5,styleArray["clip"].indexOf(')')).split('');s+=' clip="';s+=Math.max(0,parseFloat(clipArray[3]));s+=' ';s+=Math.max(0,parseFloat(clipArray[0]));s+=' ';s+=Math.max(0,parseFloat(clipArray[1]));s+=' ';s+=Math.max(0,parseFloat(clipArray[2]));s+='"';}if(styleArray["background-color"]){s+=' bgcolor="'+styleArray["background-color"]+'"';}if(styleArray["background-image"]){s+=' background="'+(styleArray["background-image"].substring(styleArray["background-image"].indexOf("(")+1,styleArray["background-image"].indexOf(")")))+'"';}s+='>';e+='</layer>';if(styleArray["position"]!="absolute"){e+='</ilayer>';}}else{s+='<div';if(arguments[0]){s+=' id="'+arguments[0]+'"';}s+=' style="';if(window.document.all&&(!arguments[1]||arguments[1].indexOf("width")<0)){s+="width:1;";}if(arguments[1]){s+=arguments[1];}s+='"';s+='>';e+='</div>';}window.setEndHTML(e);return s;};window.getImageHTML=function(){var s='';s+='<img';if(arguments[0]){if(window.document.layers){s+=' name="'+arguments[0]+'"';}else{s+=' id="'+arguments[0]+'"';}}if(arguments[1]){s+=' src="'+arguments[1]+'"';}if(arguments[2]){s+=' alt="'+arguments[2]+'"';}if(arguments[3]){s+=' width="'+arguments[3]+'"';}if(arguments[4]){s+=' height="'+arguments[4]+'"';}s+=' hspace="0"';s+=' vspace="0"';s+=' border="0"';s+='>';return s;};window.getSpacerHTML=function(){if(!arguments[0]){arguments[0]=1;}if(!arguments[1]){arguments[1]=1;}var s='';if(window.document.layers){s+='<spacer';s+=' type="block"';s+=' width="'+arguments[0]+'"';s+=' height="'+arguments[1]+'"';s+='>';}else{s+='<img';s+=' src=""';s+=' width="'+arguments[0]+'"';s+=' height="'+arguments[1]+'"';s+=' vspace="0"';s+=' hspace="0"';s+=' border="0"';s+=' style="';s+='visibility:hidden;';s+='"';s+='>';}return s;};



/*Funk v1.51 (c) 2001 Fabrique, EBU */window.browser=new Object();window.browser. mac = navigator. appVersion. toLowerCase(). indexOf( 'mac' )>=0;window.browser. win = navigator. appVersion. toLowerCase(). indexOf( 'win' )>=0;window.browser. unix = navigator. appVersion. toLowerCase(). indexOf( 'unix' )>=0;window.browser. ie = navigator. appName. toLowerCase(). indexOf( 'microsoft internet explorer' )>=0;window.browser. ns = navigator. appName. toLowerCase(). indexOf( 'netscape' )>=0;if( window.browser. ns ){window.browser. version = parseFloat( window.navigator. appVersion );}if( window.browser. ie ){window.browser. version = parseFloat( window.navigator. appVersion. substring( navigator. appVersion. toLowerCase(). indexOf( 'msie' )+4 ) );}if( window.document. all ){window.getWindowWidth = new Function( 'return window.document. body. clientWidth;' );window.getWindowHeight = new Function( 'return window.document. body. clientHeight;' );window.getPageWidth = new Function( 'return window.document. body. scrollWidth;' );window.getPageHeight = new Function( 'return window.document. body. scrollHeight;' );window.getScrollX = new Function( 'return window.document. body. scrollLeft;' );window.getScrollY = new Function( 'return window.document. body. scrollTop;' );}else{window.getWindowWidth = new Function( 'return window.innerWidth;' );window.getWindowHeight = new Function( 'return window.innerHeight;' );window.getPageWidth = new Function( 'return window.document. width;' );getPageHeight = new Function( 'return window.document. height;' );window.getScrollX = new Function( 'return window.pageXOffset;' );window.getScrollY = new Function( 'return window.pageYOffset;' );}window.getPageX = function(){var t = 0;for( var l = arguments[ 0 ]; l; l = l. offsetParent ){t+=l. offsetLeft;}return t;};window.getPageY = function(){var t = 0;for( var l = arguments[ 0 ]; l; l = l. offsetParent ){t+=l. offsetTop;}return t;};window.UICount = 0;window.getUI = function(){return 'UI'+( window.UICount ++ );};window.joinFunctions = function(){var s = '';for( var c = 0; c<arguments. length; c ++ ){if( arguments[ c ] ){var ss = arguments[ c ]. toString();s+=ss. substr( ss. indexOf( "{" ) - 1 );}}return new Function( s );};window.onstep = null;window.step = function(){if( window.onstep ){window.onstep();}};window.onstart = null;window.start = function(){if( window.onstart ){window.onstart();}window.setInterval( "window.step();", 40 );};





layerStartHTML=getLayerStartHTML;
endHTML=getEndHTML;
UI=getUI;



window.jsLoaded=true;

function Menu() {
  if(!(navigator.userAgent.indexOf("MSIE")>0 && parseInt(navigator.appVersion)<7))
    return false;
  var menu=this;
  this.timerId=null;

function Item(i) {
var thisItem=this;
var el=document.getElementById("Menu"+i);

function expand() {
if(!Menu) return;
if(Menu.activeItem==thisItem)
clearTimeout(menu.timerId);
else {
if(Menu.activeItem != null) {
clearTimeout(menu.timerId);
Menu.activeItem.collapse();
}
el.className="Expand";
Menu.activeItem=thisItem;
if(typeof mn_OnShow=="function") mn_OnShow();
}
};

this.collapse=function() {
el.className="";
Menu.activeItem=null;
if(typeof mn_OnHide=="function") mn_OnHide();
};

function callCollapse() {
menu.timerId=setTimeout("Menu.items["+i+"].collapse();", 200);
};

if(el) {
el.onmouseover=expand;
el.onmouseout=callCollapse;
}
};

for(var i=0; i<Menu.items.length; i++) {
Menu.items[i]=new Item(i);
}
};
Menu.items=new Array(5);
Menu.activeItem=null;


function printImageNotFound(strDocid) {
var docloc=new String(document.location.href)
docloc=docloc.replace(/[:\.\/&?=\"\']/g, '_')

var i=new Image();
i.src='http://nl.sitestat.com/ahold/ah/s?website.error.imagenietgevonden.'+strDocid+'_'+docloc

}




function ButtonContainer(strFocusColor, strStyleClass) {
this._list=new Array();
this._intPointer=0;
this._color=strFocusColor;
this._style=strStyleClass;
this.add=BC_add;
this.setSelected=BC_setSelected;
this.write=BC_write;
this.size=BC_size;
this.get=BC_get;
}
function BC_size() {
return this._list.length; 
}
function BC_get(intIndex) {
return this._list[intIndex];
}
function BC_add(button) {
if(button) {
this._list[this._intPointer++]=button;
}
return this;
}



function BC_setSelected(strSubstring) {
for(var i=0; i<this._list.length; i++) {
var button=this._list[i];
if(button.getURL().indexOf(strSubstring)>=0) {
button.setSelected(true);
break;
}
}
}

function BC_write() {
if(this._list.length==0) {
return "";
}
var s='';
if(document.layers) {
s='<table width="141" border="0" cellpadding="1" cellspacing="0" background="">';
} else {
s='<table width="141" border="0" cellpadding="1" cellspacing="0">';
}
s+='<tr><td valign="top">';
var b;
for(var i=0; i<this._list.length; i++) {
b=this._list[i];
if(b) {
s+=this._list[i].write(this._style, this._color); 
}
}
s+='</td></tr></table>';
return s;
}


function Button()
{
this._selected=false;
this._target;
this.getURL=ButtonGetURL;
this.setSelected=BSetSelected;
this.setTarget=BSetTarget;
}
function ButtonGetURL() { return this._href; }
function BSetSelected(boolSelected) {this._selected=boolSelected;}
function BSetTarget(strTarget) {if (strTarget) this._target=strTarget;}


function ImageButton(strHref, strSrc, strAlt, strId, strBottomSpacer)
{
this._href=strHref;
this._label=strAlt;
this._src=strSrc;
this._id=strId;
this._bottom=strBottomSpacer;
this._height;
if(document.layers) {
this.write=IB_writeLayer;
} else {
this.write=IB_write;
}
this.setHeight=IB_setheight;
}
ImageButton.prototype=new Button();
ImageButton.prototype._DefaultHeight=null;
ImageButton.prototype.setDefaultHeight=IB_setdefheight;


function IB_setheight(intHeight) {
if(intHeight && intHeight>0) {
this._height=intHeight;
}
}


function IB_setdefheight(intHeight) {
if(intHeight && intHeight>0) {
ImageButton.prototype._DefaultHeight=intHeight;
}
}


function IB_write(strStyleClass, strFocusColor) 
{
var id=UI();
var s='\n<table id="'+id+'"';
if(this._selected) {
s+=' bgcolor="'+strFocusColor+'"';
}
s+=' width="139" border="0" cellspacing="0" cellpadding="0"';
s+='><tr><td><a href="'+this._href+'"';
if(!this._selected) {
s+=' onmouseover="';
s+='var e=window.document.getElementById(\''+id+'\');';
s+='if (e) e.style.backgroundColor=\''+strFocusColor+'\';';
s+='" onmouseout="';
s+='var e=window.document.getElementById(\''+id+'\');';
s+='if (e) e.style.backgroundColor=\'\';"';
}
if(this._target) {
s+=' target="' +this._target+'"';
}
s+='><img';
if(this._id){
if(document.layers) {
s+=' name="'+this._id+'"';
} else {
s+=' id="'+this._id+'"';
}
}
s+=' src="'+this._src+'" alt="'+this._label+'"';
if(this._height) {
s+=' height="'+this._height+'"';
} else if (this._DefaultHeight) {
s+=' height="'+this._DefaultHeight+'"';
}
s+=' hspace="0" vspace="0" border="0" width="139">';
s+='</a></td></tr></table>'+this._bottom;
return s; 
}

function IB_writeLayer(strStyleClass, strFocusColor)
{
var s='<table';
if(this._selected) {
s+=' bgcolor="'+strFocusColor+'"';
}
s+=' width="139" border="0" cellspacing="0" cellpadding="0"';
s+='><tr><td><a href="'+this._href+'"';
if(this._target) {
s+=' target="' +this._target+'"';
}
s+='><img src="'+this._src+'" alt="'+this._label+'"';
if(this._height) {
s+=' height="'+this._height+'"';
} else if (this._DefaultHeight) {
s+=' height="'+this._DefaultHeight+'"';
}
s+=' hspace="0" vspace="0" border="0" width="139">';
s+='</a></td></tr></table>'+this._bottom; 
return s;
}



var extraInit=new Array();
function addInit(newFunction) {
extraInit[extraInit.length]=newFunction;
}

function init() {
for(var i=0; i<extraInit.length; i++) {
extraInit[i]();
}
}

window.onload=init;







gbNetstatRegisterAllowed=true;

function netstatRegister() {
var i=document.getElementById('netstatImage');
if(netstatImageSrc && i && gbNetstatRegisterAllowed) {
i.src='http://nl.sitestat.com/ahold/ah/s?'+netstatImageSrc;
}
}

function netstatLoad(strTeller)
{
if(strTeller=='' || !strTeller ) {
strTeller=document.location.pathname.substring(1).replace(/\//, '.');
}
if(gbNetstatRegisterAllowed) {
var ns=new Image();
ns.src='http://nl.sitestat.com/ahold/ah/s?'+strTeller;
}
}







goPrintPopup=false;


function PrinterPopupInfo()
{
this.url='';
this.name='PrintPopup';
this.width=520;
this.height=530;
this.getProperties=function() 
{
return 'width='+goPrintPopup.width 
+ ', height='+goPrintPopup.height
+ ', resizable=yes'
+ ', scrollbars=yes';
}
this.createPopup=function ()
{
window.open(
goPrintPopup.url, 
goPrintPopup.name, 
goPrintPopup.getProperties());
}
}


function printPage() 
{
if(goPrintPopup) {
goPrintPopup.createPopup();
} else if (window.print) {
window.print();
} else {
alert('Helaas, uw browser ondersteunt deze functie niet.' 
+ '\nMaak gebruik van de optie Print in uw menubalk.');
}
}


var relativeLayers=new Array();
var relativeLayersNoShow=new Array();
function positionRelative(_layerName, _top, _left, _relativeTo)
{
this.top=_top;
this.left=_left;
this.parent=_relativeTo;
this.name=_layerName;
}



function setupRelativeLayers()
{
for(var i in relativeLayers) { 
with (relativeLayers[i]) {
if(document.layers) {
document.layers[name].top=getPageY(document.layers[parent])+top;
document.layers[name].style.left=getPageX(document.layers[parent])+left;
document.layers[name].visibility='show';
}
else if (document.getElementById) {
document.getElementById(name).style.top=getPageY(document.getElementById(parent))+top;
document.getElementById(name).style.left=getPageX(document.getElementById(parent))+left;
document.getElementById(name).style.visibility='visible';
}
}
}
}

function setupRelativeLayersNoShow()
{
for(var i in relativeLayersNoShow) { 
with (relativeLayersNoShow[i]) {
if(document.layers) {
document.layers[name].style.top=getPageY(document.layers[parent])+top;
document.layers[name].style.left=getPageX(document.layers[parent])+left;
}
else if (document.getElementById) {
document.getElementById(name).style.top=getPageY(document.getElementById(parent))+top;
document.getElementById(name).style.left=getPageX(document.getElementById(parent))+left;
}
}
}
}
addInit(setupRelativeLayers);
addInit(setupRelativeLayersNoShow);

/**
* FlashObject v1.3d: Flash detection and embed - http://blog.deconcept.com/flashobject/
*
* FlashObject is (c) 2006 Geoff Stearns and is released under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*
*/
if(typeof com=="undefined"){var com=new Object();}
if(typeof com.deconcept=="undefined"){com.deconcept=new Object();}
if(typeof com.deconcept.util=="undefined"){com.deconcept.util=new Object();}
if(typeof com.deconcept.FlashObjectUtil=="undefined"){com.deconcept.FlashObjectUtil=new Object();}
com.deconcept.FlashObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){
if(!document.createElement||!document.getElementById){return;}
this.DETECT_KEY=_b?_b:"detectflash";
this.skipDetect=com.deconcept.util.getRequestParameter(this.DETECT_KEY);
this.params=new Object();
this.variables=new Object();
this.attributes=new Array();
this.useExpressInstall=_7;
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 com.deconcept.PlayerVersion(_5.toString().split(".")));}
this.installedVer=com.deconcept.FlashObjectUtil.getPlayerVersion(this.getAttribute("version"),_7);
if(c){this.addParam("bgcolor",c);}
var q=_8?_8:"high";
this.addParam("quality",q);
var _d=(_9)?_9:window.location;
this.setAttribute("xiRedirectUrl",_d);
this.setAttribute("redirectUrl","");
if(_a){this.setAttribute("redirectUrl",_a);}
};
com.deconcept.FlashObject.prototype={setAttribute:function(_e,_f){
this.attributes[_e]=_f;
},getAttribute:function(_10){
return this.attributes[_10];
},addParam:function(_11,_12){
this.params[_11]=_12;
},getParams:function(){
return this.params;
},addVariable:function(_13,_14){
this.variables[_13]=_14;
},getVariable:function(_15){
return this.variables[_15];
},getVariables:function(){
return this.variables;
},createParamTag:function(n,v){
var p=document.createElement("param");
p.setAttribute("name",n);
p.setAttribute("value",v);
return p;
},getVariablePairs:function(){
var _19=new Array();
var key;
var _1b=this.getVariables();
for(key in _1b){_19.push(key+"="+_1b[key]);}
return _19;
},getFlashHTML:function(){
var _1c="";
if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){
if(this.getAttribute("doExpressInstall")){
this.addVariable("MMplayerType","PlugIn");
}
_1c="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";
_1c+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";
var _1d=this.getParams();
for(var key in _1d){_1c+=[key]+"=\""+_1d[key]+"\" ";}
var _1f=this.getVariablePairs().join("&");
if(_1f.length>0){_1c+="flashvars=\""+_1f+"\"";}
_1c+="/>";
}else{
if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");}
_1c="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";
_1c+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";
var _20=this.getParams();
for(var key in _20){_1c+="<param name=\""+key+"\" value=\""+_20[key]+"\" />";}
var _22=this.getVariablePairs().join("&");
if(_22.length>0){_1c+="<param name=\"flashvars\" value=\""+_22+"\" />";
}_1c+="</object>";}
return _1c;
},write:function(_23){
if(this.useExpressInstall){
var _24=new com.deconcept.PlayerVersion([6,0,65]);
if(this.installedVer.versionIsValid(_24)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){
this.setAttribute("doExpressInstall",true);
this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));
document.title=document.title.slice(0,47)+" - Flash Player Installation";
this.addVariable("MMdoctitle",document.title);}
}else{this.setAttribute("doExpressInstall",false);}
if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){
var n=(typeof _23=="string")?document.getElementById(_23):_23;
n.innerHTML=this.getFlashHTML();
}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}}};
com.deconcept.FlashObjectUtil.getPlayerVersion=function(_26,_27){
var _28=new com.deconcept.PlayerVersion(0,0,0);
if(navigator.plugins&&navigator.mimeTypes.length){
var x=navigator.plugins["Shockwave Flash"];
if(x&&x.description){_28=new com.deconcept.PlayerVersion(x.description.replace(/([a-z]|[A-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}
}else{
try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
for(var i=3;axo!=null;i++){
axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+i);
_28=new com.deconcept.PlayerVersion([i,0,0]);}}
catch(e){}
if(_26&&_28.major>_26.major){return _28;}
if(!_26||((_26.minor!=0||_26.rev!=0)&&_28.major==_26.major)||_28.major!=6||_27){
try{
_28=new com.deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));
}catch(e){}}}
return _28;
};
com.deconcept.PlayerVersion=function(_2c){
this.major=parseInt(_2c[0])||0;
this.minor=parseInt(_2c[1])||0;
this.rev=parseInt(_2c[2])||0;
};
com.deconcept.PlayerVersion.prototype.versionIsValid=function(fv){
if(this.major<fv.major){return false;}
if(this.major>fv.major){return true;}
if(this.minor<fv.minor){return false;}
if(this.minor>fv.minor){return true;}
if(this.rev<fv.rev){return false;}
return true;
};
com.deconcept.util={getRequestParameter:function(_2e){
var q=document.location.search||document.location.hash;
if(q){var _30=q.indexOf(_2e+"=");
var _31=(q.indexOf("&",_30)>-1)?q.indexOf("&",_30):q.length;
if(q.length>1&&_30>-1){
return q.substring(q.indexOf("=",_30)+1,_31);}}return "";
},removeChildren:function(n){
while(n.hasChildNodes()){
n.removeChild(n.firstChild);}}};
if(Array.prototype.push==null){
Array.prototype.push=function(_33){
this[this.length]=_33;
return this.length;};}
var getQueryParamValue=com.deconcept.util.getRequestParameter;
var FlashObject=com.deconcept.FlashObject;

