

/* Form 作成
 ===============================================*/
	document.write('<form method="get" action="" id="changeForm">');


		document.write('<div class="changeItem">');
			document.write('<select name="type" id="type">');
			if ( get['type'] == "2" ) {
				document.write('<option value="1">画像(小)</option>');
				document.write('<option value="2" selected="selected">画像(大)</option>');
				//document.write('<option value="3">詳細(小)</option>');
			}else if ( get['type'] == "3" ) {
				document.write('<option value="1">画像(小)</option>');
				document.write('<option value="2">画像(大)</option>');
				//document.write('<option value="3" selected="selected">詳細(小)</option>');
			}else{
				document.write('<option value="1" selected="selected">画像(小)</option>');
				document.write('<option value="2">画像(大)</option>');
				//document.write('<option value="3">詳細(小)</option>');
			}
			document.write('</select>');

			if ( get['num'] == null ) {
				document.write('<input type="text" size="3" maxlength="3" name="num" id="num" class="numbox" value="'+ iniNum +'" />件');
			} else {
				if ( get['num'] > maxNum ) {
					document.write('<input type="text" size="3" maxlength="3" name="num" id="num" class="numbox" value="'+ maxNum +'" />件');
				} else {
					document.write('<input type="text" size="3" maxlength="3" name="num" id="num" class="numbox" value="'+ getNum +'" />件');
				}
			}
		document.write('</div>'); // ------changeItem

		document.write('<div id="submitNotice"></div>');

		document.write('<div class="changeBtn">');
		document.write('<input class="submit" type="image" src="/ncimg/submit.gif" title="件数変更" />');
		document.write('<input class="reset" type="image" src="/ncimg/reset.gif" title="初期状態に戻す" />');
		document.write('</div>'); // ------changeBtn



		document.write('<div class="currentNum">表示件数');
			if(typeof get['num'] == "undefined"){
				document.write('<span>初期値' + iniNum + '</span> ');
			}else{
				if ( get['num'] > maxNum ) {
					document.write('<span>' + maxNum + '</span> ');
				}else{
					document.write('<span>' + getNum + '</span> ');
				}
			}
		document.write('(');
		online_performers.count();
		document.write('人中)');
		document.write('</div>'); // ------currentNum




/*
	if(get['test'] == "1"){
		document.write('<br /><input type="checkbox" name="test" value="1" checked="checked" align="absmiddle" />開発用(アイコン)');
	}else{
		document.write('<br /><input type="checkbox" name="test" value="1" align="absmiddle" />開発用(アイコン)');
	}
*/
	document.write('</form>');


/* 情報保存pin
 ===============================================*/
$(function(){
	$('#num').pin();
	$('#type').pin();
});



