var relative_url_root="/promotion/";

/*
* the secom,secomforweb2 and verisign
*
*/
var show_type = "secomforweb2";
var flash_size="large";
var image_size = "large";
var flash_name = "sticker.swf";
var image_name = "sticker.gif";

var server_name = "https://www.login.secomtrust.net/customer/customer/pfw/CertificationPage.do";
var cert_code = "6141013383";
var cert_context = "return false";


var image_width = 0;
var image_height = 0;
var flash_width = 0;
var flash_height = 0;
var picture_path = relative_url_root+"images/cert/"+show_type+"/"+image_size+"/"+image_name;
var flash_path = relative_url_root+"images/cert/"+show_type+"/"+flash_size+"/"+flash_name;
if(show_type=="secom")
{
	switch(flash_size)
	{
		case "large":
			flash_width = 68;
			flash_height = 132;
			break;
		case "middle":
			flash_width = 46;
			flash_height = 88;
			break;
		case "small":
			flash_width = 37;
			flash_height = 72;
			break;
	}
	
	switch(image_size)
	{
		case "large":
			image_width = 68;
			image_height = 132;
			break;
		case "middle":
			image_width = 46;
			image_height = 88;
			break;
		case "small":
			image_width = 37;
			image_height = 72;
			break;
	}
}
else if(show_type == "verisign")
{
	switch(flash_size)
	{
		case "large":
			flash_width = 130;
			flash_height = 88;
			break;
		case "middle":
			flash_width = 115;
			flash_height = 82;
			break;
		case "small":
			flash_width = 100;
			flash_height = 72;
			break;
	}
	switch(image_size)
	{
		case "large":
			image_width = 130;
			image_height = 88;
			break;
		case "middle":
			image_width = 115;
			image_height = 82;
			break;
		case "small":
			image_width = 100;
			image_height = 72;
			break;
	}
}
else if(show_type == "secomforweb2")
{
	switch(flash_size)
	{
		case "large":
			flash_width = 65;
			flash_height = 100;
			break;
		case "middle":
			flash_width = 54;
			flash_height = 85;
			break;
		case "small":
			flash_width = 45;
			flash_height = 72;
			break;
	}
	switch(image_size)
	{
		case "large":
			image_width = 88;
			image_height = 145;
			break;
		case "middle":
			image_width = 56;
			image_height = 88;
			break;
		case "small":
			image_width = 44;
			image_height = 70;
			break;
	}
}

/*
* the pmark_sample.gif
*
*/

var pmark_sample = "pmark.gif";
var pmark_sample_path = relative_url_root+"images/privacy/"+pmark_sample;


/*
* google uaid
*
*/

var uaid = "UA-9342377-1";
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

