/* shwv.P103090726 */
/* (c)2009 SugarHill Works LLC - http://www.sugarhillworks.com */


//
//
//
//
//// ********************************************************************************************************** //
//// ********************************************************************************************************** //
//// *********************************                                        ********************************* //
//// *********************************      DO NOT EDIT BELOW THIS LINE       ********************************* //
//// *********************************                                        ********************************* //
//// ********************************************************************************************************** //
//// ********************************************************************************************************** //










// this controls the plain links in the footer div
//function makeFtrMenu() {
//	var menuParent = d.getElementById('info');
//	menuParent.innerHTML = '';
//	var menu = d.createElement('ul');
//	menu.className = 'ftrLnks';
//	for (var i = 0; i < ftrMenuItems.length; i++) {
//		ftrMenuItems[i].li = d.createElement('li');
//		// the following if statement classes the leftmost li tag to align correctly
//		if(i == 0) {
//			ftrMenuItems[i].li.className = 'left';
//		}
//		ftrMenuItems[i].a = d.createElement('a');
//		ftrMenuItems[i].a.className = 'txtlnk';
//		if(ftrMenuItems[i].mLink == 'Client Login') {
//			ftrMenuItems[i].a.className = 'nolnk';
//		}
//		if(ftrMenuItems[i].mHref == '#') {
//			ftrMenuItems[i].a.href = '#';
//		} else {
//			ftrMenuItems[i].a.href = rootPath + ftrMenuItems[i].mHref;
//		}
//		ftrMenuItems[i].a.innerHTML = ftrMenuItems[i].mLink.replace(/\s/g, '&nbsp;');
//		ftrMenuItems[i].li.appendChild(ftrMenuItems[i].a);
//		
//		menu.appendChild(ftrMenuItems[i].li);
//	}
//	menuParent.appendChild(menu);
//	
//	var ftr_p = d.createElement('p');
//	ftr_p.innerHTML = 'Copyright &copy; <a href=\"http://sugarhillworks.com\", onclick=\"newWin=window.open(this.href,\'new_win\');newWin.focus();return false;\">Site by SugarHill Works</a>.'; 
//	menuParent.appendChild(ftr_p);
//}

var newWin; //this opens the SHW site in another window
function makeCopyFtr() {
	var copyParent = d.getElementById('copy');
	copyParent.innerHTML = '';	
	//copyParent.className = '';
	var copy_p = d.createElement('p');
	copy_p.innerHTML = '&copy; 2009 AEJ PHOTOGRAPHY&nbsp;&nbsp;&#149&nbsp;&nbsp;<a href=\"http://sugarhillworks.com\" onclick=\"newWin=window.open(this.href,\'new_win\');newWin.focus();return false;\">SITE BY SUGARHILL WORKS</a>'
	copyParent.appendChild(copy_p);
}





// assign global vars  ----------------------------------------------
$(document).ready(function() {
	ceibw = d.getElementById('ceibw');
	copy = d.getElementById('copy');
	ftr = d.getElementById('ftr');
});
// ------------------------------------------------------------------






var h_limit, pagebody
$(document).ready(function() {
	getRootPath();
//	makeMenu();
	//makeFtrMenu();
	makeCopyFtr();
});

//addEvent(window, 'load', new Function('listMenu.activateMenu("listMenuRoot", null)'));



