var dom = (document.getElementById)? true : false;


/*function colorize(id, type) {
	if (dom) {
		document.getElementById(id).style.backgroundColor = '7d8978';
		if (type != 'section') {
			document.getElementById('bul_' + id).style.backgroundColor = '7d8978';
			document.getElementById('bul1_' + id).style.backgroundColor = '60695c';
			document.getElementById('bul2_' + id).style.backgroundColor = '60695c';
			document.getElementById('bul3_' + id).style.backgroundColor = '60695c';
		}
		document.getElementById('href_' + id).style.color = 'e8ffdf';
		return false;
	} else return true;
}

function uncolorize(id, type) {
	if (dom) {
		document.getElementById(id).style.backgroundColor = 'a2b29c';
		if (type != 'section') {
			document.getElementById('bul_' + id).style.backgroundColor = 'a2b29c';
			document.getElementById('bul1_' + id).style.backgroundColor = '7d8978';
			document.getElementById('bul2_' + id).style.backgroundColor = '7d8978';
			document.getElementById('bul3_' + id).style.backgroundColor = '7d8978';
		}
		document.getElementById('href_' + id).style.color = 'ffffff';
		return false;
	} else return true;
}*/

function newWin(w, h) {
	w1 = window.open('', 'LMRPhoto','resizable=no,menubar=no,status=no,scrollbars=no,width='+w+',height='+h);
	w1.focus();
}


function colorize(id) {
	
			//document.getElementById('bul_' + id).style.backgroundColor = '7d8978';
			document.getElementById('bul1_' + id).style.backgroundColor = '60695c';
			document.getElementById('bul2_' + id).style.backgroundColor = '60695c';
			document.getElementById('bul3_' + id).style.backgroundColor = '60695c';
	
}

function uncolorize(id) {
	
			//document.getElementById('bul_' + id).style.backgroundColor = 'a2b29c';
			document.getElementById('bul1_' + id).style.backgroundColor = '7d8978';
			document.getElementById('bul2_' + id).style.backgroundColor = '7d8978';
			document.getElementById('bul3_' + id).style.backgroundColor = '7d8978';
		
}
