/* 
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='';

/**
 * Switches visibility of element (add or remove 'hidden' class)
 * @param {String, Element} elem Target element ID or pointer
 */
/*for event & etc */

function PhotoAttachEvent(parent){
	var elem=document.getElementById(parent);
	if(elem){
		arrA=elem.getElementsByTagName('a');
		for(i=0;i<arrA.length;i++){
			arrA[i].onclick = function() {
		   		return hs.expand(this);
			}
        }
	}
}
