//var link1 ='link1=/catalog/productdetail.asp?ProductID=36705%26PageLevelID=1327%26';
// 1/10 carat
var link1 ='link1=/catalog/productdetail.asp?ProductID=45771%26from=Search%26Cat|category_root|22=Earrings%26Attrs|Gem=Diamond%26Cat|cat_22|23=Solitaire%26Attrs|Stone+Shape=Round%26Page|1=32%26Sort=Price%20(Descending)%26isDyorRecordSet=false%26cm_re=ER-_-SOL-_-A%26Loc=B211&';
// 1/6 carat
var link2 ='link2=/catalog/productdetail.asp?ProductID=45775%26from=Search%26Cat|category_root|22=Earrings%26Attrs|Gem=Diamond%26Cat|cat_22|23=Solitaire%26Attrs|Stone+Shape=Round%26Page|1=32%26Sort=Price%20(Descending)%26isDyorRecordSet=false%26cm_re=ER-_-SOL-_-B%26Loc=B211&';
// 1/4 carat
var link3 ='link3=/catalog/productdetail.asp?ProductID=45722%26from=Search%26Cat|category_root|22=Earrings%26Attrs|Gem=Diamond%26Cat|cat_22|23=Solitaire%26Attrs|Stone+Shape=Round%26Page|1=32%26Sort=Price%20(Descending)%26isDyorRecordSet=false%26cm_re=ER-_-SOL-_-C%26Loc=B211&';
// 1/3 carat
var link4 ='link4=/catalog/productdetail.asp?ProductID=45724%26from=Search%26Cat|category_root|22=Earrings%26Attrs|Gem=Diamond%26Cat|cat_22|23=Solitaire%26Attrs|Stone+Shape=Round%26Page|1=32%26Sort=Price%20(Descending)%26isDyorRecordSet=false%26cm_re=ER-_-SOL-_-D%26Loc=B211&';
// 1/2 carat
var link5 ='link5=/catalog/productdetail.asp?ProductID=45728%26from=Search%26Cat|category_root|22=Earrings%26Attrs|Gem=Diamond%26Cat|cat_22|23=Solitaire%26Attrs|Stone+Shape=Round%26Page|1=32%26Sort=Price%20(Descending)%26isDyorRecordSet=false%26cm_re=ER-_-SOL-_-E%26Loc=B211&';
// 3/4 carat
var link6 ='link6=/catalog/productdetail.asp?ProductID=45747%26from=Search%26Cat|category_root|22=Earrings%26Attrs|Gem=Diamond%26Cat|cat_22|23=Solitaire%26Attrs|Stone+Shape=Round%26Page|1=32%26Sort=Price%20(Descending)%26isDyorRecordSet=false%26cm_re=ER-_-SOL-_-F%26Loc=B211&';
// 1 carat 
var link7 ='link7=/catalog/productdetail.asp?ProductID=45753%26from=Search%26Cat|category_root|22=Earrings%26Attrs|Gem=Diamond%26Cat|cat_22|23=Solitaire%26Attrs|Stone+Shape=Round%26Page|1=32%26Sort=Price%20(Descending)%26isDyorRecordSet=false%26cm_re=ER-_-SOL-_-G%26Loc=B211&';
// 1 1/2 carat
var link8 ='link8=/catalog/productdetail.asp?ProductID=45801%26from=Search%26Cat|category_root|22=Earrings%26Attrs|Gem=Diamond%26Cat|cat_22|23=Solitaire%26Attrs|Stone+Shape=Round%26Page|1=32%26Sort=Price%20(Descending)%26isDyorRecordSet=false%26cm_re=ER-_-SOL-_-H%26Loc=B211&';
// 2 carat
var link9 ='link9=/catalog/productdetail.asp?ProductID=45807%26from=Search%26Cat|category_root|22=Earrings%26Attrs|Gem=Diamond%26Cat|cat_22|23=Solitaire%26Attrs|Stone+Shape=Round%26Page|1=32%26Sort=Price%20(Descending)%26isDyorRecordSet=false%26cm_re=ER-_-SOL-_-I%26Loc=B211&';
// 2 1/2 carat 
var link10 ='link10=/catalog/productdetail.asp?ProductID=45811%26from=Search%26Cat|category_root|22=Earrings%26Attrs|Gem=Diamond%26Cat|cat_22|23=Solitaire%26Attrs|Stone+Shape=Round%26Page|1=32%26Sort=Price%20(Descending)%26isDyorRecordSet=false%26cm_re=ER-_-SOL-_-J%26Loc=B211&';
// 3 carat
var link11 ='link11=/catalog/productdetail.asp?ProductID=45815%26from=Search%26Cat|category_root|22=Earrings%26Attrs|Gem=Diamond%26Cat|cat_22|23=Solitaire%26Attrs|Stone+Shape=Round%26Page|1=32%26Sort=Price%20(Descending)%26isDyorRecordSet=false%26cm_re=ER-_-SOL-_-K%26Loc=B211';

function writeMainPanel()
{

               document.write('<OBJECT id="file" codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" height="109" width="435" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">');
                  document.write('<PARAM NAME="movie" VALUE="/catalog/library/swf/earring-sizer.swf">');
                  document.write('<PARAM NAME="quality" VALUE="high">');
                  document.write('<PARAM NAME="wmode" VALUE="transparent">');
				  document.write('<PARAM NAME="FlashVars" VALUE="'+link1+link2+link3+link4+link5+link6+link7+link8+link9+link10+link11+'">');
                  document.write('<EMBED src="/catalog/library/swf/earring-sizer.swf" FlashVars="'+link1+link2+link3+link4+link5+link6+link7+link8+link9+link10+link11+' " ');
                  document.write('quality=high  WMODE="Transparent" WIDTH="435" HEIGHT="109" ');
                  document.write('NAME="file" ALIGN="" TYPE="application/x-shockwave-flash" ');
                  document.write('PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
                document.write('</OBJECT>');
}
function writePanel1()
{
            document.write('<OBJECT id="OBJECT1" codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"');
                  document.write('height="280" width="199" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">');
                  document.write('<PARAM NAME="movie" VALUE="/catalog/library/swf/panel1.swf">');
                  document.write('<PARAM NAME="quality" VALUE="high">');
                  document.write('<PARAM NAME="wmode" VALUE="transparent">');
                  document.write('<EMBED src="/catalog/library/swf/panel1.swf" ');
                  document.write('quality=high  WMODE="Transparent" width="199" HEIGHT="280" ');
                  document.write('NAME="file" ALIGN="" TYPE="application/x-shockwave-flash" ');
                  document.write('PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
             document.write('</OBJECT>');
}

function writePanel2()
{
            document.write('<OBJECT id="OBJECT2" codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"');
                  document.write('height="280" width="199" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">');
                  document.write('<PARAM NAME="movie" VALUE="/catalog/library/swf/panel2.swf">');
                  document.write('<PARAM NAME="quality" VALUE="high">');
                  document.write('<PARAM NAME="wmode" VALUE="transparent">');
                  document.write('<PARAM NAME="flashvars" VALUE="learnMore=http://www.shaneco.com/about/warranty.asp">');
                  document.write('<EMBED src="/catalog/library/swf/panel2.swf" ');
                  document.write('quality=high  WMODE="Transparent" width="199" HEIGHT="280" ');
                  document.write('NAME="file" ALIGN="" TYPE="application/x-shockwave-flash" ');
                  document.write('PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" flashvars="learnMore=http://www.shaneco.com/about/warranty.asp"></EMBED>');
             document.write('</OBJECT>');
}

function writePanel3()
{
            document.write('<OBJECT id="OBJECT3" codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"');
                  document.write('height="280" width="199" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">');
                  document.write('<PARAM NAME="movie" VALUE="/catalog/library/swf/panel3.swf">');
                  document.write('<PARAM NAME="quality" VALUE="high">');
                  document.write('<PARAM NAME="wmode" VALUE="transparent">');
                  document.write('<EMBED src="/catalog/library/swf/panel3.swf" ');
                  document.write('quality=high  WMODE="Transparent" width="199" HEIGHT="280" ');
                  document.write('NAME="file" ALIGN="" TYPE="application/x-shockwave-flash" ');
                  document.write('PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
             document.write('</OBJECT>');
}

function writePanel4()
{
            document.write('<OBJECT id="OBJECT4" codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"');
                  document.write('height="280" width="199" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">');
                  document.write('<PARAM NAME="movie" VALUE="/catalog/library/swf/panel4.swf">');
                  document.write('<PARAM NAME="quality" VALUE="high">');
                  document.write('<PARAM NAME="wmode" VALUE="transparent">');
                  document.write('<EMBED src="/catalog/library/swf/panel4.swf" ');
                  document.write('quality=high  WMODE="Transparent" width="199" HEIGHT="280" ');
                  document.write('NAME="file" ALIGN="" TYPE="application/x-shockwave-flash" ');
                  document.write('PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
             document.write('</OBJECT>');
}

function writePanel5()
{
            document.write('<OBJECT id="OBJECT5" codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"');
                  document.write('height="280" width="199" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">');
                  document.write('<PARAM NAME="movie" VALUE="/catalog/library/swf/panel5.swf">');
                  document.write('<PARAM NAME="quality" VALUE="high">');
                  document.write('<PARAM NAME="wmode" VALUE="transparent">');
                  document.write('<EMBED src="/catalog/library/swf/panel5.swf" ');
                  document.write('quality=high  WMODE="Transparent" width="199" HEIGHT="280" ');
                  document.write('NAME="file" ALIGN="" TYPE="application/x-shockwave-flash" ');
                  document.write('PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
             document.write('</OBJECT>');
}

function writePanel6()
{
            document.write('<OBJECT id="OBJECT6" codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"');
                  document.write('height="280" width="199" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">');
                  document.write('<PARAM NAME="movie" VALUE="/catalog/library/swf/panel6.swf">');
                  document.write('<PARAM NAME="quality" VALUE="high">');
                  document.write('<PARAM NAME="wmode" VALUE="transparent">');
                  document.write('<EMBED src="/catalog/library/swf/panel6.swf" ');
                  document.write('quality=high  WMODE="Transparent" width="199" HEIGHT="280" ');
                  document.write('NAME="file" ALIGN="" TYPE="application/x-shockwave-flash" ');
                  document.write('PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
             document.write('</OBJECT>');
}

function writePanel7()
{
            document.write('<OBJECT id="OBJECT7" codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"');
                  document.write('height="280" width="199" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">');
                  document.write('<PARAM NAME="movie" VALUE="/catalog/library/swf/panel7.swf">');
                  document.write('<PARAM NAME="quality" VALUE="high">');
                  document.write('<PARAM NAME="wmode" VALUE="transparent">');
                  document.write('<EMBED src="/catalog/library/swf/panel7.swf" ');
                  document.write('quality=high  WMODE="Transparent" width="199" HEIGHT="280" ');
                  document.write('NAME="file" ALIGN="" TYPE="application/x-shockwave-flash" ');
                  document.write('PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
             document.write('</OBJECT>');
}

function writePanel8()
{
            document.write('<OBJECT id="OBJECT8" codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"');
                  document.write('height="280" width="199" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">');
                  document.write('<PARAM NAME="movie" VALUE="/catalog/library/swf/panel8.swf">');
                  document.write('<PARAM NAME="quality" VALUE="high">');
                  document.write('<PARAM NAME="wmode" VALUE="transparent">');
                  document.write('<EMBED src="/catalog/library/swf/panel8.swf" ');
                  document.write('quality=high  WMODE="Transparent" width="199" HEIGHT="280" ');
                  document.write('NAME="file" ALIGN="" TYPE="application/x-shockwave-flash" ');
                  document.write('PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
             document.write('</OBJECT>');
}

function writePanel9()
{
            document.write('<OBJECT id="OBJECT9" codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"');
                  document.write('height="280" width="199" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">');
                  document.write('<PARAM NAME="movie" VALUE="/catalog/library/swf/panel9.swf">');
                  document.write('<PARAM NAME="quality" VALUE="high">');
                  document.write('<PARAM NAME="wmode" VALUE="transparent">');
                  document.write('<EMBED src="/catalog/library/swf/panel9.swf" ');
                  document.write('quality=high  WMODE="Transparent" width="199" HEIGHT="280" ');
                  document.write('NAME="file" ALIGN="" TYPE="application/x-shockwave-flash" ');
                  document.write('PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
             document.write('</OBJECT>');
}

function writePanel10()
{
            document.write('<OBJECT id="OBJECT10" codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"');
                  document.write('height="280" width="199" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">');
                  document.write('<PARAM NAME="movie" VALUE="/catalog/library/swf/panel10.swf">');
                  document.write('<PARAM NAME="quality" VALUE="high">');
                  document.write('<PARAM NAME="wmode" VALUE="transparent">');
                  document.write('<EMBED src="/catalog/library/swf/panel10.swf" ');
                  document.write('quality=high  WMODE="Transparent" width="199" HEIGHT="280" ');
                  document.write('NAME="file" ALIGN="" TYPE="application/x-shockwave-flash" ');
                  document.write('PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
             document.write('</OBJECT>');
}

function writePanel11()
{
            document.write('<OBJECT id="OBJECT11" codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"');
                  document.write('height="280" width="199" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">');
                  document.write('<PARAM NAME="movie" VALUE="/catalog/library/swf/panel11.swf">');
                  document.write('<PARAM NAME="quality" VALUE="high">');
                  document.write('<PARAM NAME="wmode" VALUE="transparent">');
                  document.write('<EMBED src="/catalog/library/swf/panel11.swf" ');
                  document.write('quality=high  WMODE="Transparent" width="199" HEIGHT="280" ');
                  document.write('NAME="file" ALIGN="" TYPE="application/x-shockwave-flash" ');
                  document.write('PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
             document.write('</OBJECT>');
}