/*
 Purpose: DHTML layers "animator" (allows layers to slide up into view and back down out of view)
 		  Current version doesn't "slide" layers up. Layers simply pop up.
 Author: Johnson Sathaseevan (jsathaseevan@rocksolidhq.com)
 Company: Rock Solid Computer Services
 Version: February 13/2007
*/

var yMove = "-88px";
var xMove = "-20px";
var compatible = document.getElementById;	/*
											 Checks for browser compatibility
											 returns true or false if user
											 browser is acceptable.
											 This "should" work for browsers Gecko and IE7+ browsers
											*/

function popUp(id, id2) {
	if (compatible)
		document.getElementById(id).style.top = "0px";
}// function popUp(id)


function popDown(id, id2) {
	if (compatible)
		document.getElementById(id).style.top = yMove;
}//function popDown(id)

function popRight(id, id2) {
	if (compatible)
		document.getElementById(id).style.marginLeft = xMove;
}// function popRight(id)


function popLeft(id, id2) {
	if (compatible)
		document.getElementById(id).style.marginLeft = "-32px";
}//function popLeft(id)