// global2003.js Tue Nov 25 12:12:55 CET 2003
// This file is generated. Do not edit!







/*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 );};
if(window.rootdir) {
window.pathToRoot=window.rootdir;
}
if(top.rootdir) {
window.pathToRoot=top.rootdir;
}


var giMenuTimer=false;
var giActive=-1;







var mn_OnShow=mn_OnHide = function() {
}

function menuShow(i) {
if(giActive>-1) {
clearTimeout(giMenuTimer);
giMenuTimer=false;
if(giActive==i)
return;
menuHideImpl();
}
mn_OnShow();
giActive=i;
var oMenu=document.getElementById('menubalk_menu_'+i);
var oMenubarItem=document.getElementById('menubalk_item_'+i);

if(!oMenu || !oMenubarItem) return;
oMenubarItem.style.backgroundColor='';
oMenu.style.left=(getPageX(oMenubarItem) - 1)+"px";
oMenu.style.top=(getPageY(oMenubarItem)+17)+"px";
oMenu.style.visibility='inherit';
}


function menuHide() {
if(!giMenuTimer)
giMenuTimer=setTimeout('menuHideImpl();', 100);
}


function menuCancelHide() {
clearTimeout(giMenuTimer);
giMenuTimer=false;
}


function menuHideImpl() {



var n=document.getElementById('menubalk_menu_'+giActive);
if(n) n.style.visibility='hidden';
n=document.getElementById('menubalk_item_'+giActive);
if(n) {
n.style.backgroundColor='';
n.style.left="0px";
}
giActive=-1;
mn_OnHide();
}


if(document.layers)
menuShow=menuHide = menuCancelHide = menuHideImpl = new Function('return false');


layerStartHTML=getLayerStartHTML;
endHTML=getEndHTML;
UI=getUI;



var extraInit=new Array();
function addInit(newFunction) {
extraInit[extraInit.length]=newFunction;
}

function init() {
for(var i=0; i<extraInit.length; i++) {
extraInit[i]();
}
}



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 TextButton(strHref, strLabel)
{
this._href=strHref;
this._label=strLabel;
if(document.layers) {
this.write=TB_writeLayer;
} else {
this.write=TB_write;
}
}
TextButton.prototype=new Button();

function TB_write(strStyleClass, strFocusColor) 
{
var id=UI();
var s='<table id="'+id+'"'; 
if(this._selected) {
s+=' bgcolor="'+strFocusColor+'"';
}
s+=' width="139" border="0" cellspacing="0" cellpadding="4">';
s+='<tr><td><a href="'+this._href+'" class="'+strStyleClass+'"';
if(!this._selected) {
s+=' onmouseover="var e=window.document.getElementById(\'';
s+=id+'\'); if (e) e.style.backgroundColor=\''+strFocusColor+'\';';
s+='" onmouseout="var e=window.document.getElementById(\'';
s+=id+'\'); if (e) e.style.backgroundColor=\'\';';
s+='"';
}
if(this._target) {
s+=' target="' +this._target+'"';
}
s+='>'+this._label+'</a></td></tr></table>';
return s;
}

function TB_writeLayer(strStyleClass, strFocusColor)
{
var s='<table '; 
if(this._selected) {
s+=' bgcolor="'+strFocusColor+'"';
}
s+=' width="139" border="0" cellspacing="0" cellpadding="4">';
s+='<tr><td><a href="'+this._href+'" class="'+strStyleClass+'"';
if(this._target) {
s+=' target="' +this._target+'"';
}
s+='>'+this._label+'</a></td></tr></table>';
return s;
}


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 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;
}
addInit(setupRelativeLayers);
addInit(setupRelativeLayersNoShow);

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;
}
}
}
}



function CmsContainer() {
this.mObjectArray=new Array();

this.mImageNotFound=new CmsImage('', '', 0, 0);
this.mImageNotFound.mBorderWidth='0';
this.add=CCAdd;
this.get=CCGet;
}
function CCAdd(cmsObject) {
if(cmsObject) this.mObjectArray[cmsObject.mDocid]=cmsObject;
}
function CCGet(strDocid) {
var img=this.mObjectArray[strDocid];
if(!img) {
var docloc=new String(document.location.href);
docloc=docloc.replace(/[:\.\/&?=\"\']/g, '_')
this.mImageNotFound.mUrl='http://nl.sitestat.com/ahold/ah/s?website.error.imagenietgevonden.'+strDocid+'_'+docloc;
return this.mImageNotFound;
}
return img;
}

function CmsImage(strDocid, strUrl, intWidth, intHeight) {
this.mDocid=strDocid;
this.mUrl=strUrl;
this.mWidth=intWidth;
this.mHeight=intHeight;
this.toHTML=CIToHTML;
}



function CIToHTML(strStyleClass, intBorderWidth, intHspace, intVspace) {

var w='';
if(this.mWidth>0 || this.mHeight>0) {
w=' width="'+this.mWidth+'" height="'+this.mHeight+'"';
}
if(this.mBorderWidth) {
intBorderWidth=this.mBorderWidth;
}
return '<img src="'+this.mUrl+'" '+w+
'" border="'+intBorderWidth+'" class="'+strStyleClass+
'" vspace="'+intVspace+'" hspace="'+intHspace+'">';
}


function printImageNotFound(strDocid) {
var docloc=new String(document.location.href)
docloc=docloc.replace(/[:\.\/&?=\"\']/g, '_')
document.write('<img src="http://nl.sitestat.com/ahold/ah/s?website.error.imagenietgevonden.'+strDocid+'_'+docloc+'" align="top" width="0" height="0" border="0">')
}








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 && gbNetstatRegisterAllowed) {
var ns=new Image();
ns.src='http://nl.sitestat.com/ahold/ah/s?'+strTeller;
}
}



function printPage() {
if(navigator.userAgent.indexOf("Mac")>=0) {
alert('De print knop werkt niet op de Mac.'+
'\nMaak gebruik van de optie Print in uw menubalk.');
} else if (navigator.userAgent.indexOf("MSIE 4")>=0) {
printIE4();
} else if (window.print){
window.print();
}
}


function printIE4() {
var OLECMDID_PRINT=6;
var OLECMDEXECOPT_DONTPROMPTUSER=2;
var OLECMDEXECOPT_PROMPTUSER=1;
var browsertext='<OBJECT ID="WebBrowser1" WIDTH="0" HEIGHT="0" CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', browsertext);
var obj=document.getElementById('WebBrowser1');
if(obj) {
if(confirm('Klik op OK om de pagina af te drukken')) {

oldHandler=window.onerror;
window.onerror=printIE4reset;
obj.ExecWB(OLECMDID_PRINT,OLECMDEXECOPT_DONTPROMPTUSER);
obj.outerHTML='';
window.onerror=oldHandler;
}
}
}

function printIE4reset()
{
var obj=document.getElementById('WebBrowser1'); 
if(obj) obj.outerHTML=''; 
window.onerror=oldHandler;
return true;
}

window.jsLoaded=true;


