function reLoadPage() {
	location.reload();
}

function openPopup(file,window) {
//	alert(file + "  "  + window);
    childWindow = open(file,window,'resizable=no,width=800,height=600');
    if(childWindow.opener == null) {
		childWindow.opener = self;
	}
}

function openPopup2(file,window) {
    childWindow = open(file,window,'resizable=no,width=225,height=125');
    if(childWindow.opener == null) {
		childWindow.opener = self;
	}
}

function openPopup3(element, file, window) {
	var obj = new Image();
	obj.src = element.src;
	var width = obj.width;
	var height = obj.height;
    childWindow = open(file,window,'resizable=no,width=' + width + ',height=' + height + ',left=10,top=10');
    if(childWindow.opener == null) {
		childWindow.opener = self;
	}
}

function openPopup4(file,window) {
    childWindow = open(file,window,'resizable=no,width=270,height=255');
    if(childWindow.opener == null) {
		childWindow.opener = self;
	}
}

function openPopup5(file,window) {
    childWindow = open(file,window,'resizable=no,width=400,height=300,left=200, top=200');
    if(childWindow.opener == null) {
		childWindow.opener = self;
	}
}

function openPopup6(file,window) {
    childWindow = open(file,window,'resizable=no,width=200,height=100,left=200, top=200');
    if(childWindow.opener == null) {
		childWindow.opener = self;
	}
}

function openPopup7(file,window) {
    childWindow = open(file,window,'resizable=no,width=400,height=300,left=200, top=200');
    if(childWindow.opener == null) {
		childWindow.opener = self;
	}
}
