

var clockID = 0;
var cur = 0;

var prefix01 = "00";
var suffix01 = "00";
var min1 = 0;

var effect01;

var lesson = 0;
lesson = gup('ThePage');

var name01 = "?????" ;
var word01 = getWord(lesson,0);   //getPlaceWord2(0);
var word02 = getWord(lesson,1);   //getPlaceWord2(1);
var word03 = getWord(lesson,2);   //getPlaceWord2(2);
var word04 = getWord(lesson,3);   //getPlaceWord2(3);
var word05 = getWord(lesson,4);   //getPlaceWord2(4);
var word06 = getWord(lesson,5);   //getPlaceWord2(5);
var word07 = getWord(lesson,6);   //getPlaceWord2(6);
var word08 = getWord(lesson,7);   //getPlaceWord2(7);
var word09 = getWord(lesson,8);   //getPlaceWord2(8);
var word10 = getWord(lesson,9);   //getPlaceWord2(9);

var myArray=new Array();

myArray[0] = 19;
myArray[1] = 19;
myArray[2] = 19;
myArray[3] = 19;
myArray[4] = 19;
myArray[5] = 19;
myArray[6] = 19;
myArray[7] = 19;
myArray[8] = 19;
myArray[9] = 19;


var wmeaning01 = getMeaning(lesson,0);   //getMeaning(0);
var wmeaning02 = getMeaning(lesson,1);   //getMeaning(1);
var wmeaning03 = getMeaning(lesson,2);   //getMeaning(2);
var wmeaning04 = getMeaning(lesson,3);   //getMeaning(3);
var wmeaning05 = getMeaning(lesson,4);   //getMeaning(4);
var wmeaning06 = getMeaning(lesson,5);   //getMeaning(5);
var wmeaning07 = getMeaning(lesson,6);   //getMeaning(6);
var wmeaning08 = getMeaning(lesson,7);   //getMeaning(7);
var wmeaning09 = getMeaning(lesson,8);   //getMeaning(8);
var wmeaning10 = getMeaning(lesson,9);   //getMeaning(9);

var flag01 = 0;
var flag02 = 0;
var flag03 = 0;
var flag04 = 0;
var flag05 = 0;
var flag06 = 0;
var flag07 = 0;
var flag08 = 0;
var flag09 = 0;
var flag10 = 0;

var wordNum = 0;
var meanNum = 0;

var score = 0;
var winningscore = 9;
var finalTime = 0;
var highTime = 1000;
var testTime = 0;



function UpdateClock() {
   if(clockID) {
      clearTimeout(clockID);
      clockID  = 0;
   }

   var tDate = new Date();

 // document.getElementById("timer3").innerHTML  = "" 
  //                                 + tDate.getHours() + ":" 
  //                                 + tDate.getMinutes() + ":" 
  //                                 + tDate.getSeconds();
	
	cur = cur + 1;	

	testTime = cur;

	if (cur == 0)
	{
		document.getElementById("timer3").innerHTML  = "00:00";
	} else {

	if (cur < 10)
	{
		suffix01 = "0" + cur;

	} else {
		suffix01 =  "" + cur;
	}

	if (cur == 60)
	{
		min1 = min1 +1;
		cur = 0;
		suffix01 = "00";

	}
	prefix01 = "" + min1;

	var tStr = "" + prefix01;
	var tStr2= tStr + ":";
	var tStr3= tStr2 + suffix01;

	document.getElementById("timer3").innerHTML  = tStr3;

	finalTime = tStr3;

   clockID = setTimeout("UpdateClock()", 1000);
   
   if(min1 > 4 )
   {	
   		KillClock();
	document.getElementById("winner").innerHTML = "Sorry, but you have taken too long - try again.";
	//document.getElementById("play_again").innerHTML = "<center><A HREF='javascript:showAgain();initiate3();'>Play Again</A></center>";
   }

	}
}
function StartClock() {
	
   clockID = setTimeout("UpdateClock()", 500);
}

function KillClock() {
   if(clockID) {
      clearTimeout(clockID);
      clockID  = 0;
   }
}


function winner()
{
	KillClock();
	document.getElementById("winner").innerHTML = "Congrats you have finished with a time of " + finalTime;
	document.getElementById("play_again").innerHTML = "<center><A HREF='javascript:showAgain();initiate3();'>Play Again</A></center>";

	if(testTime < highTime)
	{
		document.getElementById("best_time").innerHTML  = finalTime;
		highTime = testTime;
	}

	

}

function showAgain()
{
	var drag10 = new Effect.Appear('product_10', { duration: 0.5 });	
	var drag20 = new Effect.Appear('cart10', { duration: 0.5 });


	var drag11 = new Effect.Appear('product_11', { duration: 0.5 });	
	var drag21 = new Effect.Appear('cart11', { duration: 0.5 });


	var drag12 = new Effect.Appear('product_12', { duration: 0.5 });	
	var drag22 = new Effect.Appear('cart12', { duration: 0.5 });


	var drag13 = new Effect.Appear('product_13', { duration: 0.5 });	
	var drag23 = new Effect.Appear('cart13', { duration: 0.5 });


	var drag14 = new Effect.Appear('product_14', { duration: 0.5 });	
	var drag24 = new Effect.Appear('cart14', { duration: 0.5 });


	var drag15 = new Effect.Appear('product_15', { duration: 0.5 });	
	var drag25 = new Effect.Appear('cart15', { duration: 0.5 });


	var drag16 = new Effect.Appear('product_16', { duration: 0.5 });	
	var drag26 = new Effect.Appear('cart16', { duration: 0.5 });


	var drag17 = new Effect.Appear('product_17', { duration: 0.5 });	
	var drag27 = new Effect.Appear('cart17', { duration: 0.5 });


	var drag18 = new Effect.Appear('product_18', { duration: 0.5 });	
	var drag28 = new Effect.Appear('cart18', { duration: 0.5 });


	var drag19 = new Effect.Appear('product_19', { duration: 0.5 });	
	var drag29 = new Effect.Appear('cart19', { duration: 0.5 });
}


function setWord(name02)
{
	name01 = name02;

}

function setNum(curNum)
{

	wordNum = curNum;
}

function setMean(curMean)
{

	meanNum = curMean;
}

function checkFinish()
{
	var flagFinish = "true";

	if(flag01 == 0)
	{
		flagFinish = "false";
	}
	if(flag02 == 0)
	{
		flagFinish = "false";
	}
	if(flag03 == 0)
	{
		flagFinish = "false";
	}
	if(flag04 == 0)
	{
		flagFinish = "false";
	}
	if(flag05 == 0)
	{
		flagFinish = "false";
	}
	if(flag06 == 0)
	{
		flagFinish = "false";
	}
	if(flag07 == 0)
	{
		flagFinish = "false";
	}
	if(flag08 == 0)
	{
		flagFinish = "false";
	}
	if(flag09 == 0)
	{
		flagFinish = "false";
	}
	if(flag10 == 0)
	{
		flagFinish = "false";
	}

		if (flagFinish == "true")
		{
			showFinish();
		} else {
			//document.getElementById("meaning02").innerHTML = "Please finish the puzzle";
		}


}
function destroyDrag(dnum)
{
	if(dnum == 1)
	{
		drag01.destroy();
	}
}

function showFinish()
{

	
}

function createArray()
{

for(var n = 0 ; n <10 ; n++)
{
	var ran_number=Math.floor(Math.random()*10);
	var k = ran_number;
	while(myArray[k] != 19)
	{
		if(k<9)
		{
			k++;
		} else {
			k = 0;
		}
				
	}

	myArray[k] = n;


}
	//getMeaning(lesson,9)

	wmeaning01 = getMeaning(lesson, myArray[0]);
 	wmeaning02 = getMeaning(lesson, myArray[1]);
 	wmeaning03 = getMeaning(lesson, myArray[2]);
 	wmeaning04 = getMeaning(lesson, myArray[3]);
 	wmeaning05 = getMeaning(lesson, myArray[4]);
 	wmeaning06 = getMeaning(lesson, myArray[5]);
 	wmeaning07 = getMeaning(lesson, myArray[6]);
 	wmeaning08 = getMeaning(lesson, myArray[7]);
 	wmeaning09 = getMeaning(lesson, myArray[8]);
 	wmeaning10 = getMeaning(lesson, myArray[9]);



}

function getPlaceWord2(num01)
  {
  var xmlHttp;
  try
    {
    // Firefox, Opera 8.0+, Safari
	
    xmlHttp=new XMLHttpRequest();
    }
  catch (e)
    {
    // Internet Explorer
    try
      {
      xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
      }
    catch (e)
      {
      try
        {
        xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
        }
      catch (e)
        {
        return false;
        }
      }
    }
   


if(xmlHttp) {


var txtStr01 = "http://localhost:8088/cgi-bin/getWord3.pl?data=" + gup('lesson') + "=query=" + num01;

	
    xmlHttp.open("GET",txtStr01,false);
	
    xmlHttp.send(null);

	return xmlHttp.responseText;

} else {
	return false;
}

  }

function getMeaning5(num01)
  {
  var xmlHttp;
  try
    {
    // Firefox, Opera 8.0+, Safari
	
    xmlHttp=new XMLHttpRequest();
    }
  catch (e)
    {
    // Internet Explorer
    try
      {
      xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
      }
    catch (e)
      {
      try
        {
        xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
        }
      catch (e)
        {
        return false;
        }
      }
    }
   


if(xmlHttp) {


var txtStr01 = "http://localhost:8088/cgi-bin/getMeaning4.pl?data=" + gup('lesson') + "=query=" + num01;

	
    xmlHttp.open("GET",txtStr01,false);
	
    xmlHttp.send(null);

	return xmlHttp.responseText;

} else {
	return false;
}

  }

function gup( name ){  name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");  var regexS = "[\\?&]"+name+"=([^&#]*)";  var regex = new RegExp( regexS );  var results = regex.exec( window.location.href );  if( results == null )    return "";  else    return results[1];}


function changeColor()
{

	

}

function restColor(flagNum)
{
	

}

function restColor2(flagNum,mycolor)
{


}

function setPlace01()
{

	

		if(meanNum == 0)
		{
			var drag101 = new Effect.Fade('product_10', { duration: 0.5 });	
			var drag100 = new Effect.Fade('cart10', { duration: 0.5 });
			score++;
			if(score > winningscore)
			{
				winner();
			}
		}


}


function setPlace02()
{



	if(meanNum == 1)
		{
			var drag201 = new Effect.Fade('product_11', { duration: 0.5 });	
			var drag200 = new Effect.Fade('cart11', { duration: 0.5 });
			score++;
			if(score > winningscore)
			{
				winner();
			}
		}
}

function setPlace03()
{

	


	if(meanNum == 2)
		{
			var drag301 = new Effect.Fade('product_12', { duration: 0.5 });	
			var drag300 = new Effect.Fade('cart12', { duration: 0.5 });
			score++;
			if(score > winningscore)
			{
				winner();
			}
		}
}

function setPlace04()
{

	

	if(meanNum == 3)
		{
			var drag401 = new Effect.Fade('product_13', { duration: 0.5 });	
			var drag400 = new Effect.Fade('cart13', { duration: 0.5 });
			score++;
			if(score > winningscore)
			{
				winner();
			}
		}
}

function setPlace05()
{

		

	if(meanNum == 4)
		{
			var drag501 = new Effect.Fade('product_14', { duration: 0.5 });	
			var drag500 = new Effect.Fade('cart14', { duration: 0.5 });
			score++;
			if(score > winningscore)
			{
				winner();
			}
		}
}

function setPlace06()
{
	if(meanNum == 5)
		{
			var drag101 = new Effect.Fade('product_15', { duration: 0.5 });	
			var drag100 = new Effect.Fade('cart15', { duration: 0.5 });
			score++;
			if(score > winningscore)
			{
				winner();
			}
		}
}

function setPlace07()
{
	if(meanNum == 6)
		{
			var drag601 = new Effect.Fade('product_16', { duration: 0.5 });	
			var drag600 = new Effect.Fade('cart16', { duration: 0.5 });
			score++;
			if(score > winningscore)
			{
				winner();
			}
		}
}

function setPlace08()
{
	if(meanNum == 7)
		{
			var drag101 = new Effect.Fade('product_17', { duration: 0.5 });	
			var drag100 = new Effect.Fade('cart17', { duration: 0.5 });
			score++;
			if(score > winningscore)
			{
				winner();
			}
		}
}

function setPlace09()
{
	if(meanNum == 8)
		{
			var drag701 = new Effect.Fade('product_18', { duration: 0.5 });	
			var drag700 = new Effect.Fade('cart18', { duration: 0.5 });
			score++;
			if(score > winningscore)
			{
				winner();
			}
		}
}

function setPlace10()
{
	if(meanNum == 9)
		{
			var drag801 = new Effect.Fade('product_19', { duration: 0.5 });	
			var drag800 = new Effect.Fade('cart19', { duration: 0.5 });
			score++;
			if(score > winningscore)
			{
				winner();
			}
		}

} 


function setPlace011()
{
		
		

	if(wordNum == 1 )
	{
		var drag100 = new Effect.Fade('cart10', { duration: 0.5 });
		var drag101 = new Effect.Fade('product_10', { duration: 0.5 });	
			score++;
			if(score > winningscore)
			{
				winner();
			}
	}


}


function setPlace012()
{
		

	if(wordNum == 2)
	{
		var drag100 = new Effect.Fade('cart11', { duration: 0.5 });
		var drag101 = new Effect.Fade('product_11', { duration: 0.5 });	
		
			score++;
			if(score > winningscore)
			{
				winner();
			}
	}


}


function setPlace013()
{
		

	if(wordNum == 3)
	{
		var drag100 = new Effect.Fade('cart12', { duration: 0.5 });
		var drag101 = new Effect.Fade('product_12', { duration: 0.5 });	
			score++;
			if(score > winningscore)
			{
				winner();
			}
	}


}


function setPlace014()
{
		

	if(wordNum == 4)
	{
		var drag100 = new Effect.Fade('cart13', { duration: 0.5 });
		var drag101 = new Effect.Fade('product_13', { duration: 0.5 });	
			score++;
			if(score > winningscore)
			{
				winner();
			}
	}


}


function setPlace015()
{
		

	if(wordNum == 5)
	{
		var drag100 = new Effect.Fade('cart14', { duration: 0.5 });
		var drag101 = new Effect.Fade('product_14', { duration: 0.5 });	
			score++;
			if(score > winningscore)
			{
				winner();
			}
	}


}


function setPlace016()
{
		

	if(wordNum == 6)
	{
		var drag100 = new Effect.Fade('cart15', { duration: 0.5 });
		var drag101 = new Effect.Fade('product_15', { duration: 0.5 });	
			score++;
			if(score > winningscore)
			{
				winner();
			}
	}


}


function setPlace017()
{
	

	if(wordNum == 7)
	{
		var drag100 = new Effect.Fade('cart16', { duration: 0.5 });
		var drag101 = new Effect.Fade('product_16', { duration: 0.5 });	
			score++;
			if(score > winningscore)
			{
				winner();
			}
	}


}


function setPlace018()
{
		

	if(wordNum == 8)
	{
		var drag100 = new Effect.Fade('cart17', { duration: 0.5 });
		var drag101 = new Effect.Fade('product_17', { duration: 0.5 });	
			score++;
			if(score > winningscore)
			{
				winner();
			}
	}


}


function setPlace019()
{
		

	if(wordNum == 9)
	{
		var drag100 = new Effect.Fade('cart18', { duration: 0.5 });
		var drag101 = new Effect.Fade('product_18', { duration: 0.5 });	
			score++;
			if(score > winningscore)
			{
				winner();
			}
	}


}

function setPlace110()
{
		

	if(wordNum == 10)
	{
		var drag100 = new Effect.Fade('cart19', { duration: 0.5 });
		var drag101 = new Effect.Fade('product_19', { duration: 0.5 });	
			score++;
			if(score > winningscore)
			{
				winner();
			}
	}


}

function initiate3()
{
//alert("test0011");
startD();
layerRandom();
StartClock();

cur = 0;
min1 = 0;
score = 0;

	//alert("test001");
//
	document.getElementById("winner").innerHTML = "" ;
	document.getElementById("play_again").innerHTML = "";

  		 document.getElementById("element10").innerHTML = "word1";

   document.getElementById("element10").innerHTML =  word01;
   document.getElementById("element11").innerHTML =  word02;
   document.getElementById("element12").innerHTML =  word03;
   document.getElementById("element13").innerHTML =  word04;
   document.getElementById("element14").innerHTML =  word05;
   document.getElementById("element15").innerHTML =  word06;
   document.getElementById("element16").innerHTML =  word07;
   document.getElementById("element17").innerHTML =  word08;
   document.getElementById("element18").innerHTML =  word09;
   document.getElementById("element19").innerHTML =  word10;

   document.getElementById("meaning10").innerHTML =  wmeaning01 ;
   document.getElementById("meaning11").innerHTML =  wmeaning02 ;
   document.getElementById("meaning12").innerHTML =  wmeaning03 ;
   document.getElementById("meaning13").innerHTML =  wmeaning04 ;
   document.getElementById("meaning14").innerHTML =  wmeaning05 ;
   document.getElementById("meaning15").innerHTML =  wmeaning06 ;
   document.getElementById("meaning16").innerHTML =  wmeaning07 ;
   document.getElementById("meaning17").innerHTML =  wmeaning08 ;
   document.getElementById("meaning18").innerHTML =  wmeaning09 ;
   document.getElementById("meaning19").innerHTML =  wmeaning10 ;
   document.getElementById("place10").innerHTML = "?????";
   document.getElementById("place11").innerHTML = "?????";
   document.getElementById("place12").innerHTML = "?????";
   document.getElementById("place13").innerHTML = "?????";
   document.getElementById("place14").innerHTML = "?????";
   document.getElementById("place15").innerHTML = "?????";
   document.getElementById("place16").innerHTML = "?????";
   document.getElementById("place17").innerHTML = "?????";
   document.getElementById("place18").innerHTML = "?????";
   document.getElementById("place19").innerHTML = "?????";

   //document.getElementById("element02").innerHTML = "word2";


   //document.getElementById("meaning01").innerHTML = "def1";


   //document.getElementById("drop01").innerHTML = "------<br>----------------<br>----------------";
  // document.getElementById("drop02").innerHTML = "------";

   //document.getElementById("message01").innerHTML = "waiting";


//var chap = parseInt(gup('lesson'));
	//var nextChap = chap + 1;

	//document.getElementById("nextLink").innerHTML = ".\move06.htm?lesson = " + nextChap;

	//document.getElementById("nextLink").innerHTML = "<a class='mylink' href='" + "\game01f.htm?lesson=" + nextChap + "'>Continue to next chapter </a>";
	



}

function startD()
{

}




function initiate22()
{
startD();
layerRandom();
StartClock();

cur = 0;
min1 = 0;
score = 0;

	document.getElementById("winner").innerHTML = "" ;
	document.getElementById("play_again").innerHTML = "";

  		 document.getElementById("element10").innerHTML = "word1";

   document.getElementById("element10").innerHTML =  word01;
   document.getElementById("element11").innerHTML =  word02;
   document.getElementById("element12").innerHTML =  word03;
   document.getElementById("element13").innerHTML =  word04;
   document.getElementById("element14").innerHTML =  word05;
   document.getElementById("element15").innerHTML =  word06;
   document.getElementById("element16").innerHTML =  word07;
   document.getElementById("element17").innerHTML =  word08;
   document.getElementById("element18").innerHTML =  word09;
   document.getElementById("element19").innerHTML =  word10;

   document.getElementById("meaning10").innerHTML =  wmeaning01 ;
   document.getElementById("meaning11").innerHTML =  wmeaning02 ;
   document.getElementById("meaning12").innerHTML =  wmeaning03 ;
   document.getElementById("meaning13").innerHTML =  wmeaning04 ;
   document.getElementById("meaning14").innerHTML =  wmeaning05 ;
   document.getElementById("meaning15").innerHTML =  wmeaning06 ;
   document.getElementById("meaning16").innerHTML =  wmeaning07 ;
   document.getElementById("meaning17").innerHTML =  wmeaning08 ;
   document.getElementById("meaning18").innerHTML =  wmeaning09 ;
   document.getElementById("meaning19").innerHTML =  wmeaning10 ;
   document.getElementById("place10").innerHTML = "?????";
   document.getElementById("place11").innerHTML = "?????";
   document.getElementById("place12").innerHTML = "?????";
   document.getElementById("place13").innerHTML = "?????";
   document.getElementById("place14").innerHTML = "?????";
   document.getElementById("place15").innerHTML = "?????";
   document.getElementById("place16").innerHTML = "?????";
   document.getElementById("place17").innerHTML = "?????";
   document.getElementById("place18").innerHTML = "?????";
   document.getElementById("place19").innerHTML = "?????";

   document.getElementById("element02").innerHTML = "word2";


   document.getElementById("meaning01").innerHTML = "def1";


   document.getElementById("drop01").innerHTML = "------<br>----------------<br>----------------";
   document.getElementById("drop02").innerHTML = "------";

   document.getElementById("message01").innerHTML = "waiting";


var chap = parseInt(gup('lesson'));
	var nextChap = chap + 1;

	//document.getElementById("nextLink").innerHTML = ".\move06.htm?lesson = " + nextChap;

	document.getElementById("nextLink").innerHTML = "<a class='mylink' href='" + "\game01f.htm?lesson=" + nextChap + "'>Continue to next chapter </a>";
	



}

function layerRandom()
{
var v1 = (Math.random() * ( 750)) + 100;
var v2 = (Math.random() * ( 750)) + 100;
var v3 = (Math.random() * ( 750)) + 100;

//alert(v1);
//a//lert(v2);
//alert(v3);

document.getElementById("product_10").style.left = (Math.random() * ( 750)) + 100;
document.getElementById("product_10").style.top = (Math.random() * (450));
document.getElementById("product_10").style.position = "absolute";

//alert("t2");
document.getElementById("product_11").style.left = (Math.random() * ( 750)) + 100;
document.getElementById("product_11").style.top = (Math.random() * (450));
document.getElementById("product_11").style.position = "absolute";

document.getElementById("product_12").style.left = (Math.random() * ( 750)) + 100;
document.getElementById("product_12").style.top = (Math.random() * (450));
document.getElementById("product_12").style.position = "absolute";

document.getElementById("product_13").style.left = (Math.random() * ( 750)) + 100;
document.getElementById("product_13").style.top = (Math.random() * (450));
document.getElementById("product_13").style.position = "absolute";

document.getElementById("product_13").style.left = (Math.random() * ( 750)) + 100;
document.getElementById("product_13").style.top = (Math.random() * (450));
document.getElementById("product_13").style.position = "absolute";

document.getElementById("product_14").style.left = (Math.random() * ( 750)) + 100;
document.getElementById("product_14").style.top = (Math.random() * (450));
document.getElementById("product_14").style.position = "absolute";

document.getElementById("product_15").style.left = (Math.random() * ( 750)) + 100;
document.getElementById("product_15").style.top = (Math.random() * (450));
document.getElementById("product_15").style.position = "absolute";

document.getElementById("product_16").style.left = (Math.random() * ( 750)) + 100;
document.getElementById("product_16").style.top = (Math.random() * (450));
document.getElementById("product_16").style.position = "absolute";

document.getElementById("product_17").style.left = (Math.random() * ( 750)) + 100;
document.getElementById("product_17").style.top = (Math.random() * (450));
document.getElementById("product_17").style.position = "absolute";

document.getElementById("product_18").style.left = (Math.random() * ( 750)) + 100;
document.getElementById("product_18").style.top = (Math.random() * (450));
document.getElementById("product_18").style.position = "absolute";

document.getElementById("product_19").style.left = (Math.random() * ( 750)) + 100;
document.getElementById("product_19").style.top = (Math.random() * (450));
document.getElementById("product_19").style.position = "absolute";



document.getElementById("cart10").style.left = (Math.random() * (750)) + 100;
document.getElementById("cart10").style.top = (Math.random() * (450));
document.getElementById("cart10").style.position = "absolute";

document.getElementById("cart11").style.left = (Math.random() * (750)) + 100;
document.getElementById("cart11").style.top = (Math.random() * (450));
document.getElementById("cart11").style.position = "absolute";

document.getElementById("cart12").style.left = (Math.random() * (750)) + 100;
document.getElementById("cart12").style.top = (Math.random() * (450));
document.getElementById("cart12").style.position = "absolute";

document.getElementById("cart13").style.left = (Math.random() * (750)) + 100;
document.getElementById("cart13").style.top = (Math.random() * (450));
document.getElementById("cart13").style.position = "absolute";

document.getElementById("cart13").style.left = (Math.random() * (750)) + 100;
document.getElementById("cart13").style.top = (Math.random() * (450));
document.getElementById("cart13").style.position = "absolute";

document.getElementById("cart14").style.left = (Math.random() * (750)) + 100;
document.getElementById("cart14").style.top = (Math.random() * (450));
document.getElementById("cart14").style.position = "absolute";

document.getElementById("cart15").style.left = (Math.random() * (750)) + 100;
document.getElementById("cart15").style.top = (Math.random() * (450));
document.getElementById("cart15").style.position = "absolute";

document.getElementById("cart16").style.left = (Math.random() * (750)) + 100;
document.getElementById("cart16").style.top = (Math.random() * (450));
document.getElementById("cart16").style.position = "absolute";

document.getElementById("cart17").style.left = (Math.random() * (750)) + 100;
document.getElementById("cart17").style.top = (Math.random() * (450));
document.getElementById("cart17").style.position = "absolute";

document.getElementById("cart18").style.left = (Math.random() * (750)) + 100;
document.getElementById("cart18").style.top = (Math.random() * (450));
document.getElementById("cart18").style.position = "absolute";

document.getElementById("cart19").style.left = (Math.random() * (750)) + 100;
document.getElementById("cart19").style.top = (Math.random() * (450));
document.getElementById("cart19").style.position = "absolute";

}
