// popup window
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

// set required flash version
var requiredMajorVersion = 6;	// Major version of Flash required
var requiredMinorVersion = 0;	// Minor version of Flash required
var requiredRevision = 0;		// Minor version of Flash required

// animate get start form (or any specifid form
// when using this function, identify the element by using document.getElementbyId()
function changeHeight(elm,begin,end,duration,fps) {
		
    var change      = end-begin;
    var interval    = Math.ceil(1000/fps);
    var totalFrames = Math.ceil(duration/interval);
    var fixedStep   = change/totalFrames;

    for(i=0;i < totalFrames;i++) {
     (function() {
         var n = i;
         function innerChangeHeight() {
              var height        = begin+(fixedStep*n);
              elm.style.height  = height+'px';			  
         }
         timer = setTimeout(innerChangeHeight,interval*n);
     })();
   }
	elm.style.visibility = 'visible';  
}

// hide any specifide element
function hideElm(elm) {
	elm.style.visibility = 'hidden';
}
// show any specifide element
function showElm(elm) {
	elm.style.visibility = 'visible';
}

// deal with overflow problems in ie
window.onload = function () {  
	// only apply to IE
	if (!/*@cc_on!@*/0) return;  
	// find every element to test  
	var all = document.getElements