Index: temp/branches/ec-cube-beta/data/Smarty/templates/campaign/index.tpl
===================================================================
--- temp/branches/ec-cube-beta/data/Smarty/templates/campaign/index.tpl	(revision 11037)
+++ temp/branches/ec-cube-beta/data/Smarty/templates/campaign/index.tpl	(revision 11038)
@@ -4,5 +4,5 @@
 <script type="text/javascript">
 <!--
-function test() {
+function fnGetIds() {
 	var change_tag = document.getElementsByTagName("div");
 	var ids = "";
@@ -20,5 +20,5 @@
 function init() {
 	if(<!--{$tpl_test}-->) {
-		alert(test());
+		var ids = fnGetIds();
 		location.href = './index.php?test=1&ids=' + ids;
 	}
