function openPopup(page,winW,winH){
	var dest_url;
	dest_url=page;

	var screenPos;
	screenPos=GetScreenPos('0','0');
	var winPopup0;
	winPopup0 = window.open(dest_url, 'popup_scimm', 'width=' + winW + ',height=' + winH + ',resizable=no,scrollbars=no,toolbar=no' + screenPos);
	//winPopup0.focus();
}

function openPopup0(winW,winH){
	var dest_url;
	dest_url='popup0.aspx';

	var screenPos;
	screenPos=GetScreenPos('10','350');
	var winPopup0;
	winPopup0 = window.open(dest_url, 'popup0_scimm', 'width=' + winW + ',height=' + winH + ',resizable=no,scrollbars=no,toolbar=no' + screenPos);
	//winPopup0.focus();
}

function openPopup1(winW,winH){
	var dest_url;
	dest_url='popup1.aspx';

	var screenPos;
	screenPos=GetScreenPos('610','20');
	
	var winPopup1;
	winPopup1 = window.open(dest_url, 'popup1_scimm', 'width=' + winW + ',height=' + winH + ',resizable=no,scrollbars=no,toolbar=no' + screenPos);

	//winPopup1.focus();
}

function openPopup2(winW,winH){
	var dest_url;
	dest_url='popup2.aspx';

	var screenPos;
	screenPos=GetScreenPos('10','200');
	
	var winPopup1;
	winPopup1 = window.open(dest_url, 'popup2_scimm', 'width=' + winW + ',height=' + winH + ',resizable=no,scrollbars=no,toolbar=no' + screenPos);

	//winPopup1.focus();
}

function openPopup3(swffile,winW,winH){
	var dest_url;
	dest_url='popup3.aspx?swfFile='+swffile;

	var screenPos;
	screenPos=GetScreenPos('50','150');
	
	var winPopup1;
	winPopup1 = window.open(dest_url, 'popup3_scimm', 'width=' + winW + ',height=' + winH + ',resizable=no,scrollbars=no,toolbar=no' + screenPos);

	//winPopup1.focus();
}

function openPopupVideo(winW,winH)
{
	var dest_url;
	dest_url='swf/player.html';

	var screenPos;
	screenPos=GetScreenPos('50','150');
	
	var winPopup1;
	winPopup1 = window.open(dest_url, 'popupvideo_scimm', 'width=' + winW + ',height=' + winH + ',resizable=no,scrollbars=no,toolbar=no' + screenPos);
}

function GetScreenPos(X,Y){
	var screenPos;
	if (document.layers){
      //Netscape 4 specific code
      screenPos=',screenX=' + X + ',screenY=' + Y;
	}
	if (document.getElementById){
	//Netscape 6 specific code
	screenPos=',screenX=' + X + ',screenY=' + Y;
	}
	if (document.all){
	//IE4+ specific code
	screenPos=',left=' + X + ',top=' + Y;
	}
	return screenPos;
}