
/**/
function changeLast(){
	var num = titleForm.code.value;
	var num2 = num.substring(3,11);
	var num3 = num.substring(7,9);
	var num4 = num.substring(3,9);

	if(num2 < 20031229){
		if(num == '1'){
			window.open("https://old2002.creworld.co.kr/out_2003_01_01/main/main.asp" , "old");
		}else if(num == '2'){
			window.open("https://old2002.creworld.co.kr/out_2003_01_02/main/main.asp", "old");
		}else if(num == '3'){
			window.open("https://old2002.creworld.co.kr/out_2003_02_03/main/main.asp", "old");
		}else if(num == '4'){
			window.open("https://old2002.creworld.co.kr/out_2003_02_04/main/main.asp", "old");
		}else if(num == '5'){
			window.open("https://old2002.creworld.co.kr/out_2003_03_05/main/main.asp", "old");
		}else if(num == '6'){
			window.open("https://old2002.creworld.co.kr/out_2003_03_06/main/main.asp", "old");
		}else{
			window.open("https://old2003.creworld.co.kr/index.jsp?titleCode="+num,"old" );
		}			
	}else if(num2 < 20041229 ) {
			window.open("https://2004.creworld.co.kr/index.jsp?code="+num,"old");
			//document.titleForm.submit();
	}else if(num2 <= 20060131 ){
			window.open("https://2005.creworld.co.kr/index.jsp?code="+num,"old");
	}else if(num2 > 20060131 && num2 < 20061231){
			window.open("https://www.creworld.co.kr/index.jsp?creworldNum="+num3);
			window.close();
	}else if(num2 >= 20070101 ){
			window.open("https://www.creworld.co.kr/index.jsp?creworldNum="+num4);
	}else if(num2 >= 20091201 ){
			window.open("https://www.creworld.co.kr/200912/index.jsp");
	}else{
		document.titleForm.submit();
	}	
}

/*FUNCTION*/
function SelectVolume(){
document.writeln("<FORM name=titleForm action='/index.jsp' method=post>");
document.writeln("	<SELECT style='width:150px'  onchange=javascript:changeLast(); name=code class='input_select2'>");
document.writeln("<OPTION selected>- Å©·¹¿ùµå Áö³­È£ º¸±â -</OPTION>");
document.writeln("<option value='TIT20100701' >Volume No.103 2010.07</option>");
document.writeln("<option value='TIT20100601' >Volume No.102 2010.06</option>");
document.writeln("<option value='TIT20100501' >Volume No.101 2010.05</option>");
document.writeln("<option value='TIT20100401' >Volume No.100 2010.04</option>");
document.writeln("<option value='TIT20100301' >Volume No.99 2010.03</option>");
document.writeln("<option value='TIT20100201' >Volume No.98 2010.02</option>");
document.writeln("<option value='TIT20100101' >Volume No.97 2010.01</option>");
document.writeln("<option value='TIT20091201' >Volume No.96 2009.12</option>");
document.writeln("<option value='TIT20091101' >Volume No.95 2009.11</option>");
document.writeln("<option value='TIT20091001' >Volume No.94 2009.10</option>");
document.writeln("<option value='TIT20090901' >Volume No.93 2009.09</option>");
document.writeln("<option value='TIT20090801' >Volume No.92 2009.08</option>");
document.writeln("<option value='TIT20090701' >Volume No.91 2009.07</option>");
document.writeln("<option value='TIT20090601' >Volume No.90 2009.06</option>");
document.writeln("<option value='TIT20090501' >Volume No.89 2009.05</option>");
document.writeln("<option value='TIT20090401' >Volume No.88 2009.04</option>");
document.writeln("<option value='TIT20090301' >Volume No.87 2009.03</option>");
document.writeln("<option value='TIT20090201' >Volume No.86 2009.02</option>");
document.writeln("<option value='TIT20090101' >Volume No.85 2009.01</option><!-- 2009 -->");
document.writeln("<option value='TIT20081201' >Volume No.84 2007.12</option>");
document.writeln("<option value='TIT20081101' >Volume No.83 2008.11</option>");
document.writeln("<option value='TIT20081001' >Volume No.82 2008.10</option>");
document.writeln("<option value='TIT20080901' >Volume No.81 2008.09</option>");
document.writeln("<option value='TIT20080801' >Volume No.80 2008.08</option>");
document.writeln("<option value='TIT20080701' >Volume No.79 2008.07</option>");
document.writeln("<option value='TIT20080601' >Volume No.78 2008.06</option>");
document.writeln("<option value='TIT20080501' >Volume No.77 2008.05</option>");
document.writeln("<option value='TIT20080401' >Volume No.76 2008.04</option>");
document.writeln("<option value='TIT20080301' >Volume No.75 2008.03</option>");
document.writeln("<option value='TIT20080201' >Volume No.74 2008.02</option>");
document.writeln("<option value='TIT20080101' >Volume No.73 2008.01</option><!-- 2008 -->");
document.writeln("<option value='TIT20071201' >Volume No.72 2007.12</option>");
document.writeln("<option value='TIT20071101' >Volume No.71 2007.11</option>");
document.writeln("<option value='TIT20071001' >Volume No.70 2007.10</option>");
document.writeln("<option value='TIT20070901' >Volume No.69 2007.09</option>");
document.writeln("<option value='TIT20070801' >Volume No.68 2007.08</option>");
document.writeln("<option value='TIT20070701' >Volume No.67 2007.07</option>");
document.writeln("<option value='TIT20070601' >Volume No.66 2007.06</option>");
document.writeln("<option value='TIT20070501' >Volume No.65 2007.05</option>");
document.writeln("<option value='TIT20070401' >Volume No.64 2007.04</option>");
document.writeln("<option value='TIT20070301' >Volume No.63 2007.03</option>");
document.writeln("<option value='TIT20070201' >Volume No.62 2007.02</option>");
document.writeln("<option value='TIT20070101' >Volume No.61 2007.01</option><!-- 2007 -->");
document.writeln("<option value='TIT20061201' >Volume No.60 2006.12</option>");
document.writeln("<option value='TIT20061101' >Volume No.59 2006.11</option>");
document.writeln("<option value='TIT20061001' >Volume No.58 2006.10</option>");
document.writeln("<option value='TIT20060901' >Volume No.57 2006.09</option>");
document.writeln("<option value='TIT20060801' >Volume No.56 2006.08</option>");
document.writeln("<option value='TIT20060701' >Volume No.55 2006.07</option>");
document.writeln("<option value='TIT20060601' >Volume No.54 2006.06</option>");
document.writeln("<option value='TIT20060501' >Volume No.53 2006.05</option>");
document.writeln("<option value='TIT20060401' >Volume No.52 2006.04</option>");
document.writeln("<option value='TIT20060301' >Volume No.51 2006.03</option>");
/*
document.writeln("<option value='TIT20060131164321114' >Volume No.50 2006.01</option><!-- 2006 -->");
document.writeln("<option value='TIT20051230232113248' >Volume No.49 2005.12</option>");
document.writeln("<option value='TIT20051125113247314' >Volume No.48 2005.11</option>");
document.writeln("<option value='TIT20051031120313759' >Volume No.47 2005.10</option>");
document.writeln("<option value='TIT20050930105758802' >Volume No.46 2005.09</option>");
document.writeln("<option value='TIT20050830174801434' >Volume No.45 2005.08</option>");
document.writeln("<option value='TIT20050729135433409' >Volume No.44 2005.07</option>");
document.writeln("<option value='TIT20050630142408543' >Volume No.43 2005.06</option>");
document.writeln("<option value='TIT20050531140542405' >Volume No.42 2005.05</option>");
document.writeln("<option value='TIT20050429111404219' >Volume No.41 2005.04</option>");
document.writeln("<option value='TIT20050329143218729' >Volume No.40 2005.03</option>");
document.writeln("<option value='TIT20050227192728016' >Volume No.39 2005.02</option>");
document.writeln("<option value='TIT20050130235015901' >Volume No.38 2005.01</option><!-- 2005 -->");
document.writeln("<option value='TIT20041229175900043' >Volume No.37 2004.12</option>");
document.writeln("<option value='TIT20041130135042040' >Volume No.36 2004.11</option>");
document.writeln("<option value='TIT20041021185039303' >Volume No.35 2004.10</option>");
document.writeln("<option value='TIT20040930093302943' >Volume No.34 2004.09</option>");
document.writeln("<option value='TIT20040831091942328' >Volume No.33 2004.08</option>");
document.writeln("<option value='TIT20040730160327403' >Volume No.32 2004.07</option>");
document.writeln("<option value='TIT20040630094402853' >Volume No.31 2004.06</option>");
document.writeln("<option value='TIT20040531092852425' >Volume No.30 2004.05</option>");
document.writeln("<option value='TIT20040429065424626' >Volume No.29 2004.04</option>");
document.writeln("<option value='TIT20040330060625223' >Volume No.28 2004.03</option>");
document.writeln("<option value='TIT20040227093222030' >Volume No.27 2004.02</option>");
document.writeln("<option value='TIT20040130093029745' >Volume No.26 2004.01</option><!-- 2004 -->");
document.writeln("<option value='TIT20031229112744001' >Volume No.25 2003.12</option>");
document.writeln("<option value='TIT20031215005814258' >Volume No.24</option>");
document.writeln("<option value='TIT20031130235257923' >Volume No.23</option>");
document.writeln("<option value='TIT20031114233922432' >Volume No.22</option>");
document.writeln("<option value='TIT20031101021431533' >Volume No.21</option>");
document.writeln("<option value='TIT20031014010532031' >Volume No.20</option>");
document.writeln("<option value='TIT20031001034030546' >Volume No.19</option>");
document.writeln("<option value='TIT20030915020545946' >Volume No.18</option>");
document.writeln("<option value='TIT20030831235945716' >Volume No.17</option>");
document.writeln("<option value='TIT20030814081715317' >Volume No.16</option>");
document.writeln("<option value='TIT20030801003316610' >Volume No.15</option>");
document.writeln("<option value='TIT20030715001609950' >Volume No.14</option>");
document.writeln("<option value='TIT20030701021949602' >Volume No.13</option>");
document.writeln("<option value='TIT20030616055601315' >Volume No.12</option>");
document.writeln("<option value='TIT20030601012314433' >Volume No.11</option>");
document.writeln("<option value='TIT20030515011432948' >Volume No.10</option>");
document.writeln("<option value='TIT20030430232947707' >Volume No.9</option>");
document.writeln("<option value='TIT20030413225706552' >Volume No.8</option>");
document.writeln("<option value='TIT20030321164551001' >Volume No.7</option>");
document.writeln("<option value='6'>Volume No.6</option>");
document.writeln("<option value='5'>Volume No.5</option>");
document.writeln("<option value='4'>Volume No.4</option>");
document.writeln("<option value='3'>Volume No.3</option>");
document.writeln("<option value='2'>Volume No.2</option>");
document.writeln("<option value='1'>Volume No.1</option>");
*/
document.writeln("		</select>");
document.writeln("	</FORM>");
}