/*************************************************************************************
Setzt die Breite des "cartMonitorFrame" auf die Breite des "navCart" Frames.
Die onresize-Funktion für IE ist im default.htm (Frameset) integriert.
Für alle anderen Browser ist der Aufruf im header.htm
**************************************************************************************/
var frmSet = 'detail_cart';
var frmSet2 = 'header';
var frmNavCart = 'navCart'

function f_setCartMonitorFrame(){
	v_oFrm = eval('top.'+frmNavCart);
	if (bw.safari){
		if (v_oFrm.location.href.length > 11){
			f_setCartMonitorWidth(v_oFrm);
		}
	}
	else {
		f_setCartMonitorWidth(v_oFrm);
	}
}
function f_setCartMonitorWidth(v_oFrm){
	if (v_oFrm.document){
		if (top.document.getElementById(frmSet) && v_oFrm.document.body){
			if (bw.safari){
				if (top.v_cartMonitorFrameIsLoad){
					v_width = (v_oFrm.innerWidth)?v_oFrm.innerWidth:v_oFrm.document.body.clientWidth;
					top.document.getElementById(frmSet2).setAttribute('cols','*,'+v_width);
				}
				else {window.setTimeout("f_setCartMonitorFrame()",500);}
			}
			else {
				v_width = (v_oFrm.innerWidth)?v_oFrm.innerWidth:v_oFrm.document.body.clientWidth;
				top.document.getElementById(frmSet2).setAttribute('cols','*,'+v_width);
			}
		}
		else {window.setTimeout("f_setCartMonitorFrame()",500);}
	}
	else {window.setTimeout("f_setCartMonitorFrame()",500);}
}