// JavaScript Document

var userAgent = navigator.userAgent;
var opera = (userAgent.indexOf('Opera') != -1);
var ie = (userAgent.indexOf('MSIE') != -1);
var gecko = (userAgent.indexOf('Gecko') != -1);
var oldnetscape = (userAgent.indexOf('Mozilla') != -1);

function test(){
	alert("Testing");
}

function iframe_resize(iframe_window){
	var iframe_element = parent.document.getElementById(iframe_window.name);
	if (iframe_window.document.height){
		iframe_element.style.height = iframe_window.document.height;
		iframe_element.style.width = iframe_window.document.width;
	}
	else if (iframe_window.document.documentElement.scrollHeight){
		iframe_element.style.height = iframe_window.document.documentElement.scrollHeight;
		iframe_element.style.width = iframe_window.document.documentElement.scrollWidth;
	}
}