
function openVideo(name, style, zip, desc){

	w = window.outerWidth;
	h = window.outerHeight;

	height = 400;
	if (top.info) height+=50;

	t = (h - height) / 2;
	l = (w - 390) / 2;

	this.url = name;
	this.style = style;
	this.desc = desc;
	this.zip = zip;

	preview = window.open("video.htm", "Video", "scrollbar=no, toolbar=no, titlebar=no, statusbar=yes");
	preview.resizeTo(390, height);
	preview.moveTo(t, l);
};

function getSize(){
	post = "big";
	if (document.layers)
		size = 	window.innerWidth;
	else
		size = top.document.body.offsetWidth;
	if (size<1100) post = "small";
	if (size<1000) post = "micro";
	if (size>1400) post = "huge";
	return post;
}

function getBrowser(){
	retval = 1;
		bn = navigator.appName;
		bv = navigator.appVersion;
	if (bn=="Netscape"){
		if (parseInt(bv)<=4) retval = 0;
		else retval = -1;
	}
	if (bn=="Microsoft Internet Explorer"){
		actVer = bv.substr(bv.indexOf("MSIE") + 5, 3);
		if (actVer>5) retval = 2
	}
	return retval;
};

