﻿function gup(name)
{
    name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");  
    var regexS = "[\\?&]"+name+"=([^&#]*)";  
    var regex = new RegExp( regexS );  
    var results = regex.exec( window.location.href );  
    if( results == null )    
	return "";  
    else    
	return results[1];
}

function showHomePopup(){
	var lang = gup("intLangID");

	if ("1" == lang){
		url = "Mobile_Art08_popup2_eng.htm";
	}else{
		url = "Mobile_Art08_popup2_chi.htm";
	}

	var url;
	var height = 400;
	var width = 290;

	window.open(url, "nwfb", 
			"height="+height
			+",width="+width
			+",status=yes,toolbar=no,menubar=no,location=no");
}

// To show popup
// showHomePopup();

