
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(!hasRightVersion) { 
window.location.href="/noaccess.php?flash=0";
}
/*
var help_text = 'This is the help section!';
var help_title = 'Grooms Name';
var help_text1 = 'Asterisk areas must be ALL filled out for your website to be working.  First, please fill in both of your names.  These names will be displayed in the introduction page of your website.';
var help_title1 = 'Groom/Bride NAME';
var help_text2 = 'The DATE of your wedding will be sometimes displayed throughout your template.  Both DATE/TIME of your wedding will be the time that will be setting the countdown to your website.';
var help_title2 = 'DATE';
var help_text3 = 'Please fill out a phrase of your liking for the introductory page.';
var help_title3 = 'PHRASE';
var help_text4 = 'Please upload your pictures for your introductory  Welcome page. '+upload1;
var help_title4 = 'PICTURE UPLOAD';
var help_text5 = 'The music you choose will be the music that will be playing throughout the template while your guests are browsing through your website. Please make sure that the music does not exceed 6MB and it is MP3 formatted.';
var help_title5 = 'MUSIC';
var help_text6 = 'This is where you are able to decide on what background color you would like to have on your website behind your Flash template. '+upload2;
var help_title6 = 'WEBSITE BACKGROUND COLOR';
var img_title="Image sizes are in pixels! Click to crop!";
*/

var help_text = 'これは　ヘルプのページです。';
var help_title = '新郎の名前';
var help_text1 = '<span class="dash2">.</span>星印のついた欄は必ずご記入下さい。（記入漏れがありましたら、あなたのウェブサイトは正しく作動されません。）<br /><span class="dash2">.</span>ご記入いただいた新郎新婦のお名前はあなたのウェブサイトイントロダクション（はじめのページ）で表示されます。';
var help_title1 = '新郎/新婦の名前';
var help_text2 = 'ご入力になったウェディングの日時はあなたのウェディングウェブサイト上で表示されます。又、Wedding Day カウントダウン機能にセットされる日時となります。';
var help_title2 = '日時';
var help_text3 = 'あなたのウェブサイトのはじめの挨拶の言葉をご記入下さい。';
var help_title3 = '言葉';
var help_text4 = 'あなたのウェブサイトのホーム（はじめの）のページにアップロードする画像を選択してください。<br /><span class="dash2">.</span> '+upload1;
var help_title4 = '画像をアップロード';
var help_text5 = '<span class="dash2">.</span>ここで選択した音楽はあなたのウェブサイトの閲覧中にかかるＢＧＭとなります。<br /><span class="dash2">.</span>アップロードできる音楽は、ＭＰ３形式で容量は６ＭＢ以下のものです。';
var help_title5 = 'ＢＧＭ';
var help_text6 = 'このページではあなたのウェブサイトの背景の色を選択して下さい。<br /><span class="dash2">.</span> '+upload2;
var help_title6 = 'ウェブサイトの背景の色';
var img_title="画像の寸法は[横×縦]ピクセルで表記してあります。画像をクロップ（余分な部分の切り落とし）したい場合は　こちらをクリックして下さい。";


function une() {
var last_name = document.forms[0].elements[1].value;
var first_name = document.forms[0].elements[2].value;
var phrase = document.forms[0].elements[8].value;
document.forms[0].elements[1].value=decodeURI(last_name);
document.forms[0].elements[2].value=decodeURI(first_name);
document.forms[0].elements[8].value=decodeURI(phrase);
}


var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the FSCommand messages in a Flash movie.
function welcome_input_DoFSCommand(command, args) {
	var welcome_inputObj = isInternetExplorer ? document.all.welcome_input : document.welcome_input;
	
 		  var dd = GetCookie('d');
		  var ddp = dd.split('||');
		  if (ddp[0] == '') {
 		  var newdata = args+dd;
		  } else {
		  var newdata = args;
		  var ll = ddp.length;
		  	for (i=1; i < ll; i++) {
		  		newdata+="||"+ddp[i];
		  	}
		  }
		// alert(newdata);
		  SetCookie("d",newdata);
	
}
// Hook for Internet Explorer.
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<script language=\"VBScript\"\>\n');
	document.write('On Error Resume Next\n');
	document.write('Sub welcome_input_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call welcome_input_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}

