// sorgt dafür, daß jede Seite im Frameset dargestellt wird
// 16.03.2004 by Christoph Kuhlage, Kuhlage Software-Entwicklung

function doFrameset() {
	if(location.href==top.location.href){
				
		items = location.href.split("page_index=");				
				
		if(items.length > 1){ // entweder die richtige Seite öffnen ...
			items2 = items[1].split("&");			
			newhref = "show.php?page_index="+items2[0];
			location.href=newhref;
		} else { // ... oder die Hauptseite laden
			newhref = "../public/show.php";
			location.href=newhref;
		}
	}
}
