// JavaScript Document


function checkBW() {
	
	var bw_cookie = getCookie("bw");
	
	if(bw_cookie == undefined) {
		return null;
	} else {
		return "else";	
	}
}

function setSWFsize(objID,width,height) {
	if ( objID && width && height) {
		var fObj = document.getElementById(objID);
		var fEmb = document.getElementById(objID +'-embed');
		
		if (fObj && fObj.style) {
			fObj.setAttribute('width',width);
			fObj.setAttribute('height',height);
			//fObj.style.width = width + 'px';
			fObj.style.height = height + 'px';
		}
		
		if (fEmb != null) {		
			//fEmb.width = width;
			fEmb.height = height;
			//if(fEmb.style) {
			//	fEmb.style.width = width + 'px';
			//	fEmb.style.height = height + 'px';
				//}
			}
		}
	return "JavaScript";
}


