function openindex(open_bottomURL,open_name,open_height,open_width,open_topURL) {

	if (open_bottomURL) {bottomURL=open_bottomURL;}
	else {alert('no url');}
	
	if (open_topURL) {topURL=open_topURL;}
	else {topURL="externaltop.html";}
	
	if (open_name) {window_name=open_name;}
	else {window_name="openwin";}

	if (open_height) {window_height=open_height;}
	else {window_height=500;}

	if (open_width) {window_width=open_width;}
	else {window_width=600;}
	
	window_url = "''";
	window_features = "height=" + window_height + ",width=" + window_width + ",scrollbars,resizable,toolbar";
	topURL_CALL = "<frame src='" + topURL + "' scrolling='NO'>";
	bottomURL_CALL = "<frame src='" + bottomURL + "'>";
	//alert(URL+window_name+window_features);
	
	OpenWindow=window.open(window_url,window_name,window_features);
	OpenWindow.document.write("<html>")
	OpenWindow.document.write("<head>")
	OpenWindow.document.write("<title>Sílvia Gonçalves, Université de Montréal, Département de Sciences Économiques</title>")
	OpenWindow.document.write("<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>")
	OpenWindow.document.write("</head>")
	OpenWindow.document.write("<frameset rows='1,1*' topmargin='0' leftmargin='0' marginwidth='0' marginheight='0' framespacing='0'>")
	OpenWindow.document.write(topURL_CALL)
	OpenWindow.document.write(bottomURL_CALL)
	OpenWindow.document.write("</frameset>")
	OpenWindow.document.write("</html>")

}

//
