// JavaScript Document
function showColorPallets(){
	$('.colorBox').show();
	}

function showTextColorBox(){
	$('.colorBox1').show();
}

function closeBox(){
	$('.colorBox').hide();
	}

function closeBox1(){
	$('.colorBox1').hide();
	}

function addBgColors(color,pms1){
	//alert(color);
	document.getElementById('bgcolor').value=color;
	document.getElementById('pms').value=pms1;
	document.getElementById('displayImageBoxId').style.backgroundColor=color;
	generateCaption();
	closeBox();
	}
function addBgColors1(color,pms1){
	document.getElementById('txtcolor').value=color;
	document.getElementById('txtcolorpms').value=pms1;
	closeBox1();
	}
function changeBorderBox(obj){
	if(obj.value=='silver'){
		document.getElementById('displayUpperImageId').className = 'displayUpperImage';
	}else{
		document.getElementById('displayUpperImageId').className = 'displayUpperImage1';
	}
}







