//if(parent.stixmain.id == document.id && document.id!=null && parent.stixmain.id!=null ) {

if (window.name == 'stixmain') {
	try {
	if(url_base!=null) {
		print_banner(url_base);
	} else {
		print_banner('');
	}
	} catch (e) {
		print_banner('');
		}
	document.write('<br>');
	}

function print_banner(base) {
	return;
	var w=get_width();
	try {
		document.body.style.margin=2;
	} catch (e) {;}

	if (base == '' || base==null) {
		var base="./";
	}
	tt='<table align=center height=67 width=100%'+
		//(w-4) +0
		' border=0 bgcolor=white cellpadding=0 cellspacing=0 style={margin:-2px;border-width:0px;margin-right:2px;margin-bottom:5px;border:0px;border-bottom-width:1px;border-bottom-color:black;border-bottom-style:solid;}><TR style={border-width:0px;}><TD style={border-width:0px;}><iframe marginwidth=0 marginheight=0 frameborder=0 align=left width=620 height=60 src="' + base +'/phps/banners.php?type=small&align=horiz&max_height=60&max_width=600&norefr=1&bgcolor=white&alignment=right&space=10" scrolling=no resize=no border=0> </iframe> </TD></TR></TABLE>';

	document.write(tt);

}
function get_width() {
	var myWidth =0;
	if( typeof( window.innerWidth ) == 'number' ) {
	//Non-IE
		myWidth = window.innerWidth;
	} else {
		if( document.documentElement &&
		( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
//IE 6+ in 'standards compliant mode'
			myWidth = document.documentElement.clientWidth;
		} else {
			if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
	//IE 4 compatible
				myWidth = document.body.clientWidth;
			}
		}
	}
	return myWidth;
}
