///////////////////////////////
//キャンペーン一覧表示 ver1.0//
//                 2007/07/04//
///////////////////////////////



/*【会員限定】特別キャンペーン*/

//公開時間（標準14時）
//24時間表記で指定

rh	= 14;
function pp(){
	return('/cp/');
}

if(window.navigator.cookieEnabled){
	var port=window.location.port;
	var myCookie	=document.cookie.replace(/JSESSIONID/ig,'--');
	var ckChk	=((myCookie.match(/SESSIONID/)&&myCookie.match(/BIGipServerpool_http/))||port>0)?true:false;
//	var ckChk	=((myCookie.match(/SESSIONID/)&&myCookie.match(/BIGipServerpool_http/)))?true:false;
}else{
	var ckChk	=false;
}

/*日付確認*/
try{
	d0= new Date(time.toString().replace(/(\d{4})(\d{2})(\d{2})(\d{2})/,'$1/$2/$3 $4:0:0'));
}catch( e ){
	d0= new Date();
}

date = new Date();
date.setHours(rh);
date.setMinutes(0);
date.setSeconds(0); 
date.setMilliseconds(0);

/*休日設定*/
var	hDay	= new Array(20080429,20080505,20080506);
function hollyDayChk(){
	var	chkSum	= new Number();
	var day	=d0.getDay();
	var hh	=d0.getHours();
	for(var i=0; hDay.length > i; i++){
		d	= DgetTime(hDay[i],true);
		chkSum	+= ((d.getTime()*1-86400000<=d0.getTime())&&(d.getTime()>d0.getTime()))? 1 : 0;
	}
	chkSum	+= ((day > 0)&&(day < 6))? 0 : 1;
	chkSum	+= ((day == 5)&&(hh>=17))? 1 : 0;
	chkSum	+= ((day == 0)&&(hh<=17))? 1 : 0;
	chkSum	= (chkSum>0)? false : true;
	return(chkSum)
}

//現在日時を取得
if(window.location.search.match(/\d{8}/)){
	nowDate		= window.location.search.replace(/\?/,'');
	nowTime		= Date.UTC(nowDate.slice(0,4),nowDate.slice(4,6)-1,nowDate.slice(6,8),0,0,0);
	date		= new Date(nowDate.slice(0,4),nowDate.slice(4,6)-1,nowDate.slice(6,8),0,0,0);
	hh			= 14;
}else{
	var	date	= new Date();
	var	d		= new Date();
		d.setTime(date.getTime()*1-rh*60*60*1000);
	var	yy		= d.getYear();
	var	mm		= d.getMonth() + 1;
	var	dd		= d.getDate();
		hh		= date.getHours();
	if (yy < 2000) { yy += 1900; }

	nowDate		= yy*10000+mm*100+dd*1;
	if(window.location.search.match(/_test/)){
		alert(nowDate);
	}
	nowTime		= Date.UTC(yy,mm-1,dd,0,0,0);
}
chkNum		= new Number();


//マイページ用HTML出力
function printCp(_gt,_dl){

	/*「【会員限定】特別キャンペーン」を消す*/
	var elementB	= document.getElementsByTagName('B');
	for(var i=0; elementB.length>i; i++){
		if(elementB[i].innerHTML.toString().match(/【会員限定】特別キャンペーン/)){
			elementB[i].innerHTML='';
		}
	}

	/*上部バナー部分*/
	var top_HTML	= new String();

	top_HTML	+= 
	  '<div id="banner_centering" style="width:190px;text-align:center; margin-top:0; margin-bottom:4px; display:none;">'
      +'<p>'
      +'<img src="/eshop/img/gt/mile2.jpg"></p>'
      +'</div>'
	;
	
	var display = (_gt)? 'none':'block';
	var identify = (_gt)? '?com_gt_ec':'?i=myp';
	var identification = (_gt)?  'GT':'MYP';
	
	top_HTML	+='<div style="text-align:venter;margin:0 auto 5px;"><P style="display:block;"><a href="http://www.chou-jimaku.com/eshop/pt/1003/01_990.html'+identify+'" border="0" onClick="javascript:pageTracker._trackEvent(\''+identification+'\', \'05_990\', \''+identify+'\');"><img src="/img/gt2010/bn_gt990_100311.jpg" border="0"></a></p><p style="margin-bottom:2px;font-size:75%;text-align:center;display:none;"><a href="/pt/s/1001/14_cho.html'+identify+'" onClick="javascript:pageTracker._trackEvent(\''+identification+'\', \'05_mototore\', \''+identify+'\');"><span style="display:none;">「超割」元取れ！キャンペーン第5弾<br></span><img src="/dl/img/bn_gt100225.jpg" width="190" border="0"/></a></p></div>';
	
	var upper_HTML =new String();
	upper_HTML	+=	'\n<p><font size="2"><b>【会員限定】特別キャンペーン</b></font></p>\n'

	/*下部バナー部分*/
	var bottom_HTML	= new String();
	bottom_HTML	+= '<div style="text-align: center; margin-top: 0.5em;" ><p style="" >'
	  +'<a href="http://www.sourcenext.com/dl/?i=com_topb" onclick="javascript:pageTracker._trackEvent(\'MYP\', \'05_chowari\', \'?i=com_gt_ec\');" >'
	  +'<img src="/dl/img/bn_gt100309.jpg" border="0"></a></p></div>'

	/*開催中のキャンペーン*/
	var	CP_HTML	= new String();
	var hatena = (_gt)? '?i=com_gt_ec':'?i=myp';
	var event_track = (_gt)? 'GT':'MYP';
	CP_HTML	=	'\n<table border="0" cellpadding="0" cellspacing="5" id="CP_LIST">';
	for (var i = 0; i < cpListArray.length; i++){
		if((cpListArray[i][4]==nowDate)||(cpListArray[i][5]==nowDate)||(cpListArray[i][6]==nowDate)){
			CP_HTML	+= makeMypCpHTML(i,_gt);
		}
	}
	CP_HTML	+= '</table>';
	CP_HTML	+=	'\n<p id="CP_HTML" style="font-size:80%;"><img src="/img/common/icon_next.gif" class="y" align="absmiddle" height="15" width="15"><a href="http://www.sourcenext.com/eshop/'+hatena+'" onClick="javascript:pageTracker._trackEvent(\''+event_track+'\', \'05_goto_eshop\', \''+hatena+'\');">その他開催中のキャンペーン</a></p>';
	
	//var _HTML	= (_gt)? (top_HTML+CP_HTML):(top_HTML+upper_HTML+CP_HTML+bottom_HTML).replace(/src="http:/ig,'src="https:');
	//↑else ifがわからなかったので、コメントアウトしました。2010年02月10日西
	if(_gt){
	var _HTML = top_HTML+CP_HTML;
	}else if(_dl){
	var _HTML = top_HTML;
	}else{
	var _HTML =(top_HTML+upper_HTML+CP_HTML+bottom_HTML).replace(/src="http:/ig,'src="https:');
	}
	
	document.write(_HTML);
}

//マイページ用HTML整形
function makeMypCpHTML(num,_gt){
		var	HTML01		= new String();
			HTML01		+='<!--p style="margin-bottom:5px;"><font size="2"><b>【会員限定】特別キャンペーン</b></font><p-->';
	
			HTML01		+='\n<tr valign="top"><td width="50">';
		var HTML02		= '</td><td><div style="margin-bottom:0.75em;">';
		var HTML03		= '<div class="comment">';
		var HTML04		= '</div></div>\n</td></tr>\n';
		
		var hatena   = (_gt)? '?i=com_gt_ec_123':'?i=mypChk';
//総合GTだったらログインチェックするようにしました　20100217 西
		if (_gt){
		var myName		= remChk(cpListArray[num][1],cpListArray[num][2])+'<br>' + cpListArray[num][17].link('javascript:loginCHK\\(\''+cpListArray[num][18].toString()+hatena+'\'\\)');
		}else{
		var myName		= remChk(cpListArray[num][1],cpListArray[num][2])+'<br>' + cpListArray[num][17].link(''+cpListArray[num][18].toString()+hatena+'');	
		}
		var myImage		= '<img src="'+imgPath+'img/product_img/' + cpListArray[num][0] + '_s.gif" width="50" height="70" border="0" style="margin-bottom:0em;">';
		var comment		= cpListArray[num][19].replace(/，/ig,'\,');
		if (_gt){
		var retHTML		= HTML01 + myImage.link('javascript:loginCHK\\(\''+cpListArray[num][18]+hatena+'\'\\)') + HTML02 + myName.fontsize(2).replace(/\/\/\//,'') + HTML03 + (comment+'。').replace(/！。/,'！').fontsize(2) + HTML04;
		}else{
		var retHTML		= HTML01 + myImage.link(cpListArray[num][18]+hatena) + HTML02 + myName.fontsize(2).replace(/\/\/\//,'') + HTML03 + (comment+'。').replace(/！。/,'！').fontsize(2) + HTML04;
		}

	retHTML	= retHTML.replace(/\((.*?)\)/ig,'（$1）')
	retHTML	= retHTML.replace(/\\（(.*?)\\）/ig,'($1)')
	return(retHTML);
}

//残り日数によるメッセージの振り分け
function	remChk(num1,num2){
	if(window.location.search.match(/test/)){
		alert(num1);
	}

	var targetTime		= Date.UTC(num2.slice(0,4),(num2.slice(4,6))-1,num2.slice(6),0,0,0);
	var difDay				= (targetTime-nowTime)/86400000;
//	alert(num2+'/'+targetTime +'/'+ targetTime/86400000+'/'+nowTime/86400000);
	if(difDay==0){
		var mes	= '【本日最終】　'.fontcolor('#CC0000');
	}else if(difDay==1){
		var mes	= '【あと1日】　'.fontcolor('#CC0000');
	}else {
		var mes	= '【'+num1.slice(4,6)+'/'+num1.slice(6)+'〜'+num2.slice(4,6)+'/'+num2.slice(6)+'】　';
	}
	return(mes);
}
myPort	=	window.location.port;
imgPath='/';

/*特数を求める*/
function pr(num1,num2,num3,num4,num5){
	var	d1 = DgetTime(num1);
	var	d2 = DgetTime(num2);
	var	d3 = DgetTime(num3);
	var	d4 = DgetTime(num4);
	var	d5 = DgetTime(num5);

	/*↓なんか美しくない*/
	if((d1.getTime()<=d0.getTime())&&(d2.getTime()*1+86400000>d0.getTime())){
		if((d3.getTime()<=d0.getTime())&&(d3.getTime()*1+86400000>d0.getTime())){
			return('1st');
		}else{
			return('4th');
		}
	}else{
		return(false);
	}
}

/*各キャンペーンをオブジェクト化*/
function items(code,start,end,hasso,tk1,tk2,tk3,L1,L2,L3,L4,L5,L6,p1N,p1,p2N,p2,name,URL,buy,cat,word,read) {
	this._name = name.replace(/，/g,',').replace(/\/\/\//,'<br>');	/*商品名*/
	this._code = code.replace(/，/g,',');	/*製品コード*/
	this._buy = buy.replace(/，/g,',');		/*バイ文*/
	this._cat = (cat)? cat.replace(/，/g,','):'';		/*キャッチ*/
	this._word = (word)? word.replace(/，/g,','):'';	/*ひと言*/
	this._read = (read)? read.replace(/，/g,','):'';	/*リード*/
	this._price1name = p1N;					/*通常価格名*/
	this._price2name = (p2.match(/完売/)) ? '' : p2N;	/*販売価格名*/
	this._price1 = p1.toString().replace(/〜/,'').replace( /([0-9]+?)(?=(?:[0-9]{3})+$)/g , '$1,' );	/*通常価格*/
	this._price2 = p2.toString().replace(/〜/,'').replace( /([0-9]+?)(?=(?:[0-9]{3})+$)/g , '$1,' );	/*販売価格*/
	this.pc2	= (p1 == p2) ? "b" : "p";
	this._priceImg	= '<img src="/cp/img/index/'+this.pc2+'_'+ p2.toString().replace(/〜/,'') +'.gif" border="0" height="28" width="200">';	/*販売価格*/
	this.URL = URL;																															/*URL*/
	var _URL	= (URL.match(/\?/))? URL.replace(/\?/,'?i=ec_gt&'):URL+'?i=ec_gt';
	this._URL	= (ckChk)?'location.href=\''+_URL+'\'':'void(PopUp());';															/*Cookie確認URL*/
	var _URL_	= (URL.match(/\?/))? URL.replace(/\?/,'?i=ec_gt_TPB&'):URL+'?i=ec_gt_TPB';
	this._bURL	= (ckChk)?'location.href=\''+_URL_+'\'':'void(PopUp());';														/*Cookie確認URL*/
	this._bIMG	= '/cp/img/ecgt_banner/'+URL.replace(/.*\/(\d{4})\/.*/,'$1')+'/'+URL.replace(/.*\/(.+?)\.s*html/ig,'$1.jpg');																	/*バナーURL*/

	this.wave	= (p2.match(/〜/)) ? '〜' : ''
	this.wave1	= (p1.match(/〜/)) ? '〜' : ''

	this.iconS	= getIcon(end,p1,p2,L1,L2,L3,L4,L5,L6,hasso,URL,6);
	this.iconM	= '<div class="iconBox">'+getIcon(end,p1,p2,L1,L2,L3,L4,L5,L6,hasso,URL,3)+'</div>';
	this.iconL	= '<div class="iconBox">'+getIcon(end,p1,p2,L1,L2,L3,L4,L5,L6,hasso,URL,5)+'</div>';
	this.iconGT	= '<div class="iconBox">'+getIcon(end,p1,p2,L1,L2,L3,L4,L5,L6,hasso,URL,6)+'</div>';

	this.pc		= (p1 == p2) ? "b" : "r";
	this.kikan	= pr(start,end,tk1,tk2,tk3);
	this.kikanJP	= pr2(start)+'〜'+pr2(end);
	this._start	= start;

	this.locat= 'onClick="location.href=\''+URL+'\';"'
	this.imgS = '<img src="'+imgPath+'/img/product_img/'+code+'_s.gif" width="50" height="70" border="0">'
	this.imgM = '<img src="'+imgPath+'/img/product_img/'+code+'_m.gif" width="60" height="80" border="0">'
	this.imgL = '<img src="'+imgPath+'/img/product_img/'+code+'_l.gif" width="100" height="140" border="0">'
}


function pr2(num){
	var dyArray	=new Array('日','月','火','水','木','金','土')
	var	d = DgetTime(num);
	var	mm = d.getMonth() + 1;
	var	dd = d.getDate();
	var	dy = dyArray[d.getDay()];
	return(mm+'/'+dd+'（'+dy+'）')
}

/*日付オブジェクト生成*/
function DgetTime(num,h){
	var	hh = h ? 17 : rh;
	if(num){
		var str = num.toString().match(/(\d{4})(\d{2})(\d{2})/);
		var	d = new Date(RegExp.$1, RegExp.$2-1, RegExp.$3, hh, 00, 00);
	}else{
		var	d = new Date(1970,1,1,0,0,0);
	}
	return(d);
}

function getIcon(end,p1,p2,L1,L2,L3,L4,L5,L6,hasso,URL,num){
	var	retHTML	= new String();
	var	HTML	= new Array();
	d1	= DgetTime(end);
	d2	= DgetTime(hasso,true);
	if((d1.getTime()<=d0.getTime())&&(d1.getTime()*1+86400000>d0.getTime()))	HTML[HTML.length]='<img src="/cp/img/gt/icon_saishuu2.gif" alt="本日最終" width="23" height="23" border="0">';
	if(L1)	HTML[HTML.length]='<img src="/cp/img/gt/icon_shinhatsubai2.gif" alt="新発売" width="23" height="23" border="0">';
	if(L2)	HTML[HTML.length]='<img src="/cp/img/gt/icon_shintoujyou2.gif" alt="新登場" width="23" height="23" border="0">';
	if(L3)	HTML[HTML.length]='<img src="/cp/img/gt/icon_gentei2.gif" alt="数量限定" width="23" height="23" border="0">';
	if(L4)	HTML[HTML.length]='<img src="/cp/img/gt/icon_tokka2.gif" alt="特価" width="23" height="23" border="0">';
	if(p1&&(p1!=p2)){
		var off	= 100-Math.ceil((p2/p1)*100);
		if((off<100&&off>=10)&&(num!=6)) HTML[HTML.length]='<img src="/cp/img/index/icon_'+off+'off.gif" alt="'+off+'OFF" width="23" height="23" border="0">';
	}

	if(URL.match(/\/s\//)){
		if(d2.getTime()*1-86400000<=d0.getTime())	HTML[HTML.length]='<img src="/cp/img/gt/icon_sokujitsu2.gif" alt="即日発送" width="23" height="23" border="0">';
	}else if( hollyDayChk() ){
		if(d2.getTime()*1-86400000<=d0.getTime())	HTML[HTML.length]='<img src="/cp/img/gt/icon_sokujitsu2.gif" alt="即日発送" width="23" height="23" border="0">';
	}
	if(L5)	HTML[HTML.length]='<img src="/cp/img/gt/icon_souryou2.gif" alt="送料無料" width="23" height="23" border="0">';
	if(L6)	HTML[HTML.length]='<img src="/cp/img/gt/icon_ninkishouhin2.gif" alt="人気商品" width="23" height="23" border="0">';

	if(HTML.length){
		for(var i=0 ; num>i ; i++){
			retHTML	+=	(HTML[i])? '<div class="icon">'+HTML[i]+'</div>':''
			if((num==6)&&(i==1)) {
				retHTML='<SPAN style="color:#e00;">'+retHTML.replace(/<.*?alt="/ig,'[').replace(/" w.*?>/ig,']').replace(/<\/DIV>/ig,'')+'</SPAN>'
				break;
			}
		}
	}


	return(retHTML);
}

cpListObj	= new Array();
function make_cpListObj(array){
	for(var i=0; cpListArray.length>i; i++){
		var obj	= cpListArray[i];

		var	_URL	=(obj[18].match(/\?/))? obj[18].replace(/\?/,'?i=ec_gt&'):obj[18]+'?i=ec_gt';
		var	_IMG	= _URL.split('/');
		try{
			_IMG	='/eshop/img/'+_IMG[4]+'/'+_IMG[5]+'/'+(_IMG[6].split('?')[0].replace(/\.html/i,'.jpg'));
		}catch( e ){
			mAlert(obj[17]+'のURLを確認してください。');
			_IMG	='/eshop/img/h/1001/21m.jpg';
		}

		cpListObj['i'+obj[0]]={
			"sn"	: obj[0],
			"start_": obj[1]*100+rh,
			"start"	: obj[1],
			"end_"	: obj[2]*100+100,
			"end"	: obj[2],
			"hassou": obj[3],
			"_1st"	: obj[4],
			"_2nd"	: obj[5],
			"_3rd"	: obj[6],
			"new"	: (obj[7]=="●")? true:false,
			"nface"	: (obj[8]=="●")? true:false,
			"limit"	: (obj[9]=="")? false:true,
			"gentei": (obj[9]=="")? "":obj[9],
			"special"	: (obj[10]=="●")? true:false,
			"carriage"	: (obj[11]=="●")? true:false,
			"popular"	: (obj[12]=="●")? true:false,
			"bpName"	: obj[13],
			"bPrice"	: obj[14],
			"pName"		: obj[15],
			"price"		: obj[16],
			"name"		: obj[17],
			"_URL"		: obj[18],
			"_IMG"		: _IMG,
			"URL"		: (ckChk)? "location.href='"+_URL+"';":"void(PopUp());",
			"title"		: obj[19],
			"sText"		: obj[21],
			"lText"		: obj[22],
			"icon"		: getIcon(obj[2],obj[14],obj[16],obj[7],obj[8],obj[9],obj[10],obj[11],obj[12],obj[3],obj[18],3),
			"iconText"		: getIcon(obj[2],obj[14],obj[16],obj[7],obj[8],obj[9],obj[10],obj[11],obj[12],obj[3],obj[18],6)
		};
	}
}





//CP一覧用配列
cpListArray	= new Array();
var	i	= new Number();
cpListArray[i++]	= new Array('115500','20100301','20100331','29991231','','','','','','','','','','標準価格','4980','eSHOP価格','3980','パソコンなんでも相談サービス「ほっ！」','http://www.sourcenext.com/cp/s/1003/01_ho.html','20％OFF！','','サポートサービス','_');
cpListArray[i++]	= new Array('00199','20100301','20100402','29991231','','','','','','','','','','標準価格','3970','eSHOP価格','990〜','アウトレット特価市','http://www.sourcenext.com/pt/s/1003/outlet.html','＿','','特価市','_');
cpListArray[i++]	= new Array('00201','20100301','20100402','29991231','','','','','','','','','','標準価格','3970','eSHOP価格','990〜','ダウンロード特価市','http://www.sourcenext.com/pt/s/1003/download.html','＿','','特価市','_');
cpListArray[i++]	= new Array('113800','20100316','20100322','29991231','20100316','','','','','','','','','オープン価格','','eSHOP価格','9980','特定小電力トランシーバー2台セット','http://www.sourcenext.com/cp/h/1003/16_t-150r.html','限定200台！','','トランシーバー','_');
cpListArray[i++]	= new Array('00200','20100316','20100319','29991231','','20100316','','','','','','','','標準価格','156000','特別価格','7980〜','特価市　第一弾','http://www.sourcenext.com/cp/h/1003/16_tokkaichi.html','最大94％OFF！','','ハード特価市','_');
cpListArray[i++]	= new Array('115740','20100315','20100322','29991231','20100315','','20100316','','','','','','','オープン価格','','特別価格','10500','いきなり常時接楽','http://www.sourcenext.com/cp/h/1003/15_kw-s102c.html','限定500台！','','通信カード','_');
cpListArray[i++]	= new Array('114000','20100314','20100316','29991231','20100314','20100315','','','','','','','','オープン価格','','eSHOP価格','8500','レコード対応マルチコンポ','http://www.sourcenext.com/cp/h/1003/11_ER-260.html','限定100台！','','コンポ','_');
cpListArray[i++]	= new Array('115690','20100314','20100316','29991231','','20100314','20100315','','','','','','','オープン価格','','eSHOP価格','2980','オイルドレザーブックカバー','http://www.sourcenext.com/cp/h/1003/14_33308.html','限定100個！','','ブックカバー','_');
cpListArray[i++]	= new Array('108930','20100313','20100317','29991231','20100313','','20100314','','','','','','','標準価格','2990','eSHOP価格','1980','驚速デフラグ','http://www.sourcenext.com/pt/s/1003/13_k_def.html','33％OFF！','','デフラグソフト','_');
cpListArray[i++]	= new Array('107240','20100313','20100315','29991231','','','','','','','','','','標準価格','3680','eSHOP価格','1470〜','筆王ZERO 乗換え優待版（2010年パッケージ）','http://www.sourcenext.com/cp/s/1003/13_fude.html','60％OFF！','','ハガキ作成ソフト','_');
cpListArray[i++]	= new Array('114570','20100313','20100316','29991231','','20100313','','','','','','','','オープン価格','','eSHOP価格','7980','7型ワイド液晶ポータブルDVDプレイヤー','http://www.sourcenext.com/cp/h/1003/13_ghv_pdv775k.html','限定500台！','','DVDプレーヤー','_');
cpListArray[i++]	= new Array('97320','20100313','20100315','29991231','','','20100313','','','','','','','オープン価格','','eSHOP価格','35800','500GB HDD搭載DVDレコーダー','http://www.sourcenext.com/cp/h/1003/13_dxrs500.html','限定60台！','','HDDレコーダー','_');
cpListArray[i++]	= new Array('103470','20100312','20100316','29991231','','','','','','','','','','オープン価格','','eSHOP価格','1980','置き忘れ防止アラーム','http://www.sourcenext.com/cp/h/1003/12_sav.html','限定各200台！','','置き忘れ防止アラーム','_');
cpListArray[i++]	= new Array('114990','20100312','20100315','29991231','20100312','','','','','','','','','標準価格','7770','eSHOP価格','3480','小型無線LANルーター','http://www.sourcenext.com/cp/h/1003/12_wcr-g54-z.html','送料無料！','','無線LANルーター','_');
cpListArray[i++]	= new Array('115630','20100312','20100325','29991231','','20100312','','','','','','','','標準価格','9980','特別価格','4980','速PACK 7','http://www.sourcenext.com/pt/s/1003/12_sokupack_7.html','50％OFF！','','高速化ソフト','_');
cpListArray[i++]	= new Array('115430','20100312','20100325','29991231','','','20100312','','','','','','','標準価格','3990','eSHOP価格','2980','携速 7','http://www.sourcenext.com/pt/s/1003/12_keisoku_7.html','25％OFF！','','仮想CDドライブ','_');
cpListArray[i++]	= new Array('115390','20100311','20100322','29991231','20100311','','','','','','','','','標準価格','8800','特別価格','5980','Cyberlink Media Suite 8 Deluxe','http://www.sourcenext.com/pt/s/1003/11_cyberlink.html','32％OFF！','','映像編集ソフト','_');
cpListArray[i++]	= new Array('115890','20100311','20100315','29991231','','20100311','','','','','','','','オープン価格','','eSHOP価格','2980','Pod/iPhone用携帯充電バッテリ','http://www.sourcenext.com/cp/h/1003/11_pbi-800.html','限定200台！','','充電バッテリ','_');
cpListArray[i++]	= new Array('106550','20100311','20100314','29991231','','','20100311','','','','','','','オープン価格','','eSHOP価格','2980','24本組　高強度グラスファイバー傘　レザーシャフト','http://www.sourcenext.com/cp/h/1003/11_kasa.html','送料無料！限定各400本！','','傘','_');
cpListArray[i++]	= new Array('103750','20100310','20100314','29991231','','','','','','','','','','標準価格','29800','eSHOP価格','21800','5インチ液晶モニタ ポータブルナビ','http://www.sourcenext.com/cp/h/1003/10_c5020.html','限定44台！','','カーナビ','_');
cpListArray[i++]	= new Array('115400','20100310','20100316','29991231','','20100310','','','','','','','','標準価格','1980','特別価格','990','スグレモ 縮画ツール','http://www.sourcenext.com/cp/s/1003/10_suguremo_shukuga.html','なんと990円！','','画像変換ソフト','_');
cpListArray[i++]	= new Array('115870','20100309','20100314','29991231','','20100309','','','','','','','','標準価格','14480','eSHOP価格','14480','フルハイビジョンムービーカメラ','http://www.sourcenext.com/pt/h/1003/09_ghv-dv30fhk.html','限定500台！','','ビデオカメラ','_');
cpListArray[i++]	= new Array('107670','20100308','20100322','29991231','20100308','','20100309','','','','','','','標準価格','4980','eSHOP価格','3880','ウイルスセキュリティZERO Win7対応版','http://www.sourcenext.com/cp/s/1003/08_zero7.html','22％OFF！','','ウイルス対策ソフト','_');
cpListArray[i++]	= new Array('86880','20100307','20100315','29991231','20100307','','20100308','','','','','','','オープン価格','','eSHOP価格','2980','時計工具16点セット','http://www.sourcenext.com/cp/h/1003/07_watch_repair.html','限定655台！','','時計工具','_');
cpListArray[i++]	= new Array('92880','20100307','20100322','29991231','','','','','','','','','','標準価格','4980','eSHOP価格','2970','特打式 Office Pack DVD版','http://www.sourcenext.com/cp/s/1003/07_tokushiki.html','40％OFF！','','学習ソフト','_');
cpListArray[i++]	= new Array('98400','20100301','20100314','29991231','20100301','','','','','','','','','標準価格','49140','eSHOP価格','6980','Wordでデザイン！ 6本パック','http://www.sourcenext.com/cp/s/1003/01_design.html','85％OFF！','','デザイン素材集','_');
cpListArray[i++]	= new Array('112100','20091118','20100331','29991231','','20091118','','','','限定300台','','','','オープン価格','','eSHOP価格','99800','いきなり最大21Mbps モバイル','http://www.sourcenext.com/cp/h/1001/01_21m.html','限定300個','','通信カード','_');
cpListArray[i++]	= new Array('12','20100312','20100314','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/12_download.html','','','','');
cpListArray[i++]	= new Array('13','20100313','20100315','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/13_download.html','','','','');
cpListArray[i++]	= new Array('14','20100314','20100316','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/14_download.html','','','','');
cpListArray[i++]	= new Array('15','20100315','20100317','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/15_download.html','','','','');
cpListArray[i++]	= new Array('16','20100316','20100318','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/16_download.html','','','','');
cpListArray[i++]	= new Array('17','20100317','20100319','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/17_download.html','','','','');
cpListArray[i++]	= new Array('18','20100318','20100320','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/18_download.html','','','','');
cpListArray[i++]	= new Array('19','20100319','20100321','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/19_download.html','','','','');
cpListArray[i++]	= new Array('20','20100320','20100322','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/20_download.html','','','','');
cpListArray[i++]	= new Array('21','20100321','20100323','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/21_download.html','','','','');
cpListArray[i++]	= new Array('22','20100322','20100324','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/22_download.html','','','','');
cpListArray[i++]	= new Array('23','20100323','20100325','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/23_download.html','','','','');
cpListArray[i++]	= new Array('312','20100312','20100314','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/12_outlet.html','','','','');
cpListArray[i++]	= new Array('313','20100313','20100315','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/13_outlet.html','','','','');
cpListArray[i++]	= new Array('314','20100314','20100316','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/14_outlet.html','','','','');
cpListArray[i++]	= new Array('315','20100315','20100317','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/15_outlet.html','','','','');
cpListArray[i++]	= new Array('316','20100316','20100318','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/16_outlet.html','','','','');
cpListArray[i++]	= new Array('317','20100317','20100319','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/17_outlet.html','','','','');
cpListArray[i++]	= new Array('318','20100318','20100320','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/18_outlet.html','','','','');
cpListArray[i++]	= new Array('319','20100319','20100321','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/19_outlet.html','','','','');
cpListArray[i++]	= new Array('320','20100320','20100322','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/20_outlet.html','','','','');
cpListArray[i++]	= new Array('321','20100321','20100323','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/21_outlet.html','','','','');
cpListArray[i++]	= new Array('322','20100322','20100324','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/22_outlet.html','','','','');
cpListArray[i++]	= new Array('323','20100323','20100325','29991231','','','','','','','','','','','','','','','http://www.sourcenext.com/cp/s/1003/23_outlet.html','','','','');




make_cpListObj(cpListArray);