<!--
var current_row=null;
function Datmau(tr, color, bgcolor){
		if(current_row!=null){
			current_row.style.background = '#FFFFFF';
			current_row.style.color = '#000000';
			current_row.style.fontStyle = 'normal';
		}
		tr.style.background = bgcolor;
		tr.style.color = color;
		tr.style.fontStyle = 'italic';
		current_row=tr;

	}

function popUpContent(url) {
 popUpWin = window.open(url,'','height=400,width=500, location=no, scrollbars=yes, menubars=no,toolbars=no,resizable=yes');
 if (!popUpWin.opener) 
	popUpWin.opener = self;
}
function popUpProduct(url) {

 popUpWin = window.open(url,'','height=300,width=450, location=no, scrollbars=no, menubars=no,toolbars=no,resizable=no');
 if (!popUpWin.opener) 
	popUpWin.opener = self;
}
function popUpWindow(url) {
 popUpWin = window.open(url,'','height=250,width=350, location=no, scrollbars=yes,menubars=no,toolbars=no,resizable=yes');
 if (!popUpWin.opener) 
	popUpWin.opener = self;
}

function popUpImage(theURL,winName,width,height){
	
document.cookie = '<'+width+'*'	+height+'>';
 popUpWin = window.open(theURL,'',"'resizable=no,scrollbars=no, width="+width+" ,height="+height+"'");
 if (!popUpWin.opener) popUpWin.opener = self;
 with (popUpWin.document) {
//hacked by LinhLC
//Company :ViniCorp
	
	var str = cookie;
	var start= str.indexOf('<');
	var end = str.lastIndexOf('>');
	var myData = str.substr(start+1,end-start-1);
	//alert(myData);
	var dimension = new Array();
	dimension = myData.split('*');
 	write('<HTML><HEAD><TITLE>View Full Image</TITLE>');
 	write('</head>');
 	write('<BODY bgcolor="#FFFFFF" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">'); 	
 	write('<IMG width="'+dimension[0]+'" height="'+dimension[1]+'" SRC="' + theURL + '" alt="Click on image to close window" onclick="window.close()">');
 	write('</BODY></HTML>');

	close();
  }
}
//-->