
/* 
remove image flickering in IE
http://www.hedgerwow.com/360/bugs/dom-fix-ie6-background-image-flicker.html
*/
(function(){
	/*Use Object Detection to detect IE6*/
	var  m = document.uniqueID /*IE*/
	&& document.compatMode  /*>=IE6*/
	&& !window.XMLHttpRequest /*<=IE6*/
	&& document.execCommand ;
	
	try{
		if(!!m){
			m("BackgroundImageCache", false, true) /* = IE6 only */ 
		}
		
	}catch(oh){};
})();

var mk = {};

var sectionURL='';
function whoisClass( objectNode, whoisNclass ) {
	return ( objectNode && objectNode.className.length && objectNode.className.match( new RegExp('(^|\\s+)(' + whoisNclass + ')($|\\s+)') ) );
}
function TableAttachEvent(){
	var arrTable=document.getElementsByTagName('table');
	for (var e=0;e<arrTable.length;e++){	
		if(arrTable[e].id=="tbl"){
			var tr =arrTable[e].getElementsByTagName("tr");
			for (var i=0; i<tr.length; i++){
				var arr = new Array();
				for(j=0;j<tr[i].childNodes.length;j++){ 
					arr.push(tr[i].childNodes[j]);
				};		
				for (var j=0;j<arr.length;j++){				
					arr[j].row = i;
					arr[j].col = j;
					str=new String(arr[j].className);
					if(str.search('td_over')!= -1){
						arr[j].onmouseover = function (){
							this.className+=" d_ss";
						}
						arr[j].onmouseout = function(){
							vv=new String(this.className);
							sn=vv.replace(" d_ss", "");
							this.className=sn;
						}
       				}
				}
			}				
		}
	}
}
 	
		//var menu2= new UvumiDropdown('dropdown_menu');
		//var menu3= new UvumiDropdown('dropdown');
	
function init_show() {
if($('v').value){
window.setTimeout(hs.htmlExpand($('show_virt'), { align: 'center', objectType: 'swf',swfOptions: {flashvars: 
		{ thumb: '/app_sitemain/tmpl/images/firstframe.png', containerwidth: '830', containerheight: '645', content: '/app_sitemain/tmpl/images/114.mp4', autostart: 'false', blurover: 'false', autohide: 'true', smoothing: 'true', showbranding: 'false',showstartscreen: 'true', color: '0x1A1A1A,0x1A1A1A' }, params: {quality: 'best'} }, allowSizeReduction: false, contentId: 'box_fl2', preserveContent: false, width: 892, height: 685, objectWidth: 830, objectHeight: 645, maincontentText: 'You need to upgrade your flash player'} ), 1000);}

}

