// JavaScript Document

function toggleShowHide(name) {
	
	eval("var obj = document.getElementById('" + name + "')");
	
	var display = obj.style.display;
	if(display == "none") {
		obj.style.display = 'block';
	}
	else {
		obj.style.display = 'none';
	}
}


function show(name) {
	eval("var obj = document.getElementById('" + name + "')");
	obj.style.display = 'block';
}

function hide(name) {
	eval("var obj = document.getElementById('" + name + "')");
	obj.style.display = 'none';
}

function popWin(location,name,features) {
	ref = window.open(location,name,features);
}

function enlarge(file) {
	features = 'menubar=0,left=20,top=20,width=400,height=520,menubar=0,location=0,toolbar=0,resizable=1,scrollbars=yes';
	url = 'http://www.kinesiology100.com/images/cover_large/' + file;
	ref = window.open( url, 'enlarge',features); 
	if(window.focus) {
		ref.focus();
	}
}
function popNew(url) {
	features = 'menubar=0,left=20,top=20,menubar=0,location=0,toolbar=0,resizable=1,scrollbars=yes';
	ref = window.open( url, 'popNew',features); 
	if(window.focus) {
		ref.focus();
	}
}