function LoadLayers(){
	runSlideShow();
}

//Code to control co-branding content frame----------------------------------
// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 13000;
//-------------------------------------------

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = .025;
//-------------------------------------------
var Picture1 = new Array(); // don't change this
var Picture2 = new Array(); // don't change this
var Caption = new Array(); // don't change this
var link = new Array(); // don't change this


//logos here---------------------------------
Picture1[1] = '/imagefolder/spacer.gif';
Picture1[2] = '/imagefolder/spacer.gif';
Picture1[3] = '/imagefolder/spacer.gif';
Picture1[4] = '/imagefolder/spacer.gif';
Picture1[5] = '/imagefolder/spacer.gif';
//Picture1[6] = '/imagefolder/spacer.gif';
//Picture1[7] = '/imagefolder/spacer.gif';
//Picture1[8] = '/imagefolder/spacer.gif';
//Picture1[9] = '/imagefolder/spacer.gif';
//-------------------------------------------


//right side animal imagefolder here-----------------
Picture2[1] = 'imagefolder/cat_01.jpg';
Picture2[2] = 'imagefolder/dog_02.jpg';
Picture2[3] = 'imagefolder/dogcat_01.jpg';
Picture2[4] = 'imagefolder/cat_02.jpg';
Picture2[5] = 'imagefolder/equine_01.jpg';
//Picture2[6] = 'imagefolder/swine_02.jpg';
//Picture2[7] = 'imagefolder/livestock_01.jpg';
//Picture2[8] = 'imagefolder/livestock_02.jpg';
//Picture2[9] = 'imagefolder/swine_02.jpg';
//-------------------------------------------


//taglines here------------------------------
Caption[1]  = '<span class=\"goldpagetitle\">' +"&#1053;&#1086;&#1074;&#1086;&#1089;&#1090;&#1080;" + '</span><br \/>' + "&#1044;&#1086;&#1073;&#1088;&#1086; &#1087;&#1086;&#1078;&#1072;&#1083;&#1086;&#1074;&#1072;&#1090;&#1100; &#1085;&#1072; &#1089;&#1072;&#1081;&#1090; &#1082;&#1086;&#1084;&#1087;&#1072;&#1085;&#1080;&#1080; &#1052;&#1077;&#1088;&#1080;&#1072;&#1083; &#1074; &#1056;&#1086;&#1089;&#1089;&#1080;&#1080;! &#1047;&#1076;&#1077;&#1089;&#1100; &#1042;&#1099; &#1089;&#1084;&#1086;&#1078;&#1077;&#1090;&#1077; &#1073;&#1099;&#1089;&#1090;&#1088;&#1086; &#1080; &#1087;&#1088;&#1086;&#1089;&#1090;&#1086; &#1085;&#1072;&#1081;&#1090;&#1080; &#1080;&#1085;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1080;&#1102;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1072;&#1103; &#1087;&#1086;&#1084;&#1086;&#1078;&#1077;&#1090; &#1042;&#1072;&#1084;  &#1089;&#1086;&#1093;&#1088;&#1072;&#1085;&#1080;&#1090;&#1100; &#1079;&#1076;&#1086;&#1088;&#1086;&#1074;&#1100;&#1077; &#1042;&#1072;&#1096;&#1080;&#1093; &#1076;&#1086;&#1084;&#1072;&#1096;&#1085;&#1080;&#1093; &#1087;&#1080;&#1090;&#1086;&#1084;&#1094;&#1077;&#1074; &#1080; &#1089;&#1076;&#1077;&#1083;&#1072;&#1090;&#1100; &#1080;&#1093; &#1089;&#1095;&#1072;&#1089;&#1090;&#1083;&#1080;&#1074;&#1099;&#1084;&#1080;!" + '<br \/>' + "&#1052;&#1099;  &#1089;&#1086;&#1079;&#1076;&#1072;&#1083;&#1080; &#1101;&#1090;&#1086;&#1090; &#1089;&#1072;&#1081;&#1090; &#1076;&#1083;&#1103; &#1074;&#1089;&#1077;&#1093; &#1074;&#1083;&#1072;&#1076;&#1077;&#1083;&#1100;&#1094;&#1077;&#1074; &#1089;&#1086;&#1073;&#1072;&#1082; &#1080; &#1082;&#1086;&#1096;&#1077;&#1082;, &#1087;&#1086;&#1090;&#1086;&#1084;&#1091; &#1095;&#1090;&#1086; &#1090;&#1072;&#1082;&#1078;&#1077;  &#1082;&#1072;&#1082; &#1080; &#1042;&#1099;, &#1084;&#1099; &#1079;&#1072;&#1073;&#1086;&#1090;&#1080;&#1084;&#1089;&#1103; &#1086; &#1079;&#1076;&#1086;&#1088;&#1086;&#1074;&#1100;&#1077; &#1042;&#1072;&#1096;&#1080;&#1093; &#1087;&#1080;&#1090;&#1086;&#1084;&#1094;&#1077;&#1074;! " + '<br \/>' + "&#1053;&#1072; &#1101;&#1090;&#1086;&#1084; &#1089;&#1072;&#1081;&#1090;&#1077; &#1042;&#1099; &#1091;&#1079;&#1085;&#1072;&#1077;&#1090;&#1077; &#1086; &#1087;&#1088;&#1086;&#1076;&#1091;&#1082;&#1090;&#1072;&#1093; &#1082;&#1086;&#1084;&#1087;&#1072;&#1085;&#1080;&#1080; &#1052;&#1077;&#1088;&#1080;&#1072;&#1083;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1099;&#1077; &#1087;&#1086;&#1084;&#1086;&#1075;&#1091;&#1090;  &#1087;&#1088;&#1077;&#1076;&#1086;&#1090;&#1074;&#1088;&#1072;&#1090;&#1080;&#1090;&#1100; &#1074;&#1086;&#1079;&#1084;&#1086;&#1078;&#1085;&#1099;&#1077; &#1087;&#1088;&#1086;&#1073;&#1083;&#1077;&#1084;&#1099; &#1089;&#1086; &#1079;&#1076;&#1086;&#1088;&#1086;&#1074;&#1100;&#1077;&#1084; &#1091; &#1042;&#1072;&#1096;&#1080;&#1093; &#1076;&#1086;&#1084;&#1072;&#1096;&#1085;&#1080;&#1093;  &#1083;&#1102;&#1073;&#1080;&#1084;&#1094;&#1077;&#1074;!";
Caption[2]  = '<span class=\"goldpagetitle\">' +"&#1053;&#1086;&#1074;&#1086;&#1089;&#1090;&#1080;" + '</span><br \/>' + "&#1044;&#1086;&#1073;&#1088;&#1086; &#1087;&#1086;&#1078;&#1072;&#1083;&#1086;&#1074;&#1072;&#1090;&#1100; &#1085;&#1072; &#1089;&#1072;&#1081;&#1090; &#1082;&#1086;&#1084;&#1087;&#1072;&#1085;&#1080;&#1080; &#1052;&#1077;&#1088;&#1080;&#1072;&#1083; &#1074; &#1056;&#1086;&#1089;&#1089;&#1080;&#1080;! &#1047;&#1076;&#1077;&#1089;&#1100; &#1042;&#1099; &#1089;&#1084;&#1086;&#1078;&#1077;&#1090;&#1077; &#1073;&#1099;&#1089;&#1090;&#1088;&#1086; &#1080; &#1087;&#1088;&#1086;&#1089;&#1090;&#1086; &#1085;&#1072;&#1081;&#1090;&#1080; &#1080;&#1085;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1080;&#1102;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1072;&#1103; &#1087;&#1086;&#1084;&#1086;&#1078;&#1077;&#1090; &#1042;&#1072;&#1084;  &#1089;&#1086;&#1093;&#1088;&#1072;&#1085;&#1080;&#1090;&#1100; &#1079;&#1076;&#1086;&#1088;&#1086;&#1074;&#1100;&#1077; &#1042;&#1072;&#1096;&#1080;&#1093; &#1076;&#1086;&#1084;&#1072;&#1096;&#1085;&#1080;&#1093; &#1087;&#1080;&#1090;&#1086;&#1084;&#1094;&#1077;&#1074; &#1080; &#1089;&#1076;&#1077;&#1083;&#1072;&#1090;&#1100; &#1080;&#1093; &#1089;&#1095;&#1072;&#1089;&#1090;&#1083;&#1080;&#1074;&#1099;&#1084;&#1080;!" + '<br \/>' + "&#1052;&#1099;  &#1089;&#1086;&#1079;&#1076;&#1072;&#1083;&#1080; &#1101;&#1090;&#1086;&#1090; &#1089;&#1072;&#1081;&#1090; &#1076;&#1083;&#1103; &#1074;&#1089;&#1077;&#1093; &#1074;&#1083;&#1072;&#1076;&#1077;&#1083;&#1100;&#1094;&#1077;&#1074; &#1089;&#1086;&#1073;&#1072;&#1082; &#1080; &#1082;&#1086;&#1096;&#1077;&#1082;, &#1087;&#1086;&#1090;&#1086;&#1084;&#1091; &#1095;&#1090;&#1086; &#1090;&#1072;&#1082;&#1078;&#1077;  &#1082;&#1072;&#1082; &#1080; &#1042;&#1099;, &#1084;&#1099; &#1079;&#1072;&#1073;&#1086;&#1090;&#1080;&#1084;&#1089;&#1103; &#1086; &#1079;&#1076;&#1086;&#1088;&#1086;&#1074;&#1100;&#1077; &#1042;&#1072;&#1096;&#1080;&#1093; &#1087;&#1080;&#1090;&#1086;&#1084;&#1094;&#1077;&#1074;! " + '<br \/>' + "&#1053;&#1072; &#1101;&#1090;&#1086;&#1084; &#1089;&#1072;&#1081;&#1090;&#1077; &#1042;&#1099; &#1091;&#1079;&#1085;&#1072;&#1077;&#1090;&#1077; &#1086; &#1087;&#1088;&#1086;&#1076;&#1091;&#1082;&#1090;&#1072;&#1093; &#1082;&#1086;&#1084;&#1087;&#1072;&#1085;&#1080;&#1080; &#1052;&#1077;&#1088;&#1080;&#1072;&#1083;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1099;&#1077; &#1087;&#1086;&#1084;&#1086;&#1075;&#1091;&#1090;  &#1087;&#1088;&#1077;&#1076;&#1086;&#1090;&#1074;&#1088;&#1072;&#1090;&#1080;&#1090;&#1100; &#1074;&#1086;&#1079;&#1084;&#1086;&#1078;&#1085;&#1099;&#1077; &#1087;&#1088;&#1086;&#1073;&#1083;&#1077;&#1084;&#1099; &#1089;&#1086; &#1079;&#1076;&#1086;&#1088;&#1086;&#1074;&#1100;&#1077;&#1084; &#1091; &#1042;&#1072;&#1096;&#1080;&#1093; &#1076;&#1086;&#1084;&#1072;&#1096;&#1085;&#1080;&#1093;  &#1083;&#1102;&#1073;&#1080;&#1084;&#1094;&#1077;&#1074;!";
Caption[3]  = '<span class=\"goldpagetitle\">' +"&#1053;&#1086;&#1074;&#1086;&#1089;&#1090;&#1080;" + '</span><br \/>' + "&#1044;&#1086;&#1073;&#1088;&#1086; &#1087;&#1086;&#1078;&#1072;&#1083;&#1086;&#1074;&#1072;&#1090;&#1100; &#1085;&#1072; &#1089;&#1072;&#1081;&#1090; &#1082;&#1086;&#1084;&#1087;&#1072;&#1085;&#1080;&#1080; &#1052;&#1077;&#1088;&#1080;&#1072;&#1083; &#1074; &#1056;&#1086;&#1089;&#1089;&#1080;&#1080;! &#1047;&#1076;&#1077;&#1089;&#1100; &#1042;&#1099; &#1089;&#1084;&#1086;&#1078;&#1077;&#1090;&#1077; &#1073;&#1099;&#1089;&#1090;&#1088;&#1086; &#1080; &#1087;&#1088;&#1086;&#1089;&#1090;&#1086; &#1085;&#1072;&#1081;&#1090;&#1080; &#1080;&#1085;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1080;&#1102;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1072;&#1103; &#1087;&#1086;&#1084;&#1086;&#1078;&#1077;&#1090; &#1042;&#1072;&#1084;  &#1089;&#1086;&#1093;&#1088;&#1072;&#1085;&#1080;&#1090;&#1100; &#1079;&#1076;&#1086;&#1088;&#1086;&#1074;&#1100;&#1077; &#1042;&#1072;&#1096;&#1080;&#1093; &#1076;&#1086;&#1084;&#1072;&#1096;&#1085;&#1080;&#1093; &#1087;&#1080;&#1090;&#1086;&#1084;&#1094;&#1077;&#1074; &#1080; &#1089;&#1076;&#1077;&#1083;&#1072;&#1090;&#1100; &#1080;&#1093; &#1089;&#1095;&#1072;&#1089;&#1090;&#1083;&#1080;&#1074;&#1099;&#1084;&#1080;!" + '<br \/>' + "&#1052;&#1099;  &#1089;&#1086;&#1079;&#1076;&#1072;&#1083;&#1080; &#1101;&#1090;&#1086;&#1090; &#1089;&#1072;&#1081;&#1090; &#1076;&#1083;&#1103; &#1074;&#1089;&#1077;&#1093; &#1074;&#1083;&#1072;&#1076;&#1077;&#1083;&#1100;&#1094;&#1077;&#1074; &#1089;&#1086;&#1073;&#1072;&#1082; &#1080; &#1082;&#1086;&#1096;&#1077;&#1082;, &#1087;&#1086;&#1090;&#1086;&#1084;&#1091; &#1095;&#1090;&#1086; &#1090;&#1072;&#1082;&#1078;&#1077;  &#1082;&#1072;&#1082; &#1080; &#1042;&#1099;, &#1084;&#1099; &#1079;&#1072;&#1073;&#1086;&#1090;&#1080;&#1084;&#1089;&#1103; &#1086; &#1079;&#1076;&#1086;&#1088;&#1086;&#1074;&#1100;&#1077; &#1042;&#1072;&#1096;&#1080;&#1093; &#1087;&#1080;&#1090;&#1086;&#1084;&#1094;&#1077;&#1074;! " + '<br \/>' + "&#1053;&#1072; &#1101;&#1090;&#1086;&#1084; &#1089;&#1072;&#1081;&#1090;&#1077; &#1042;&#1099; &#1091;&#1079;&#1085;&#1072;&#1077;&#1090;&#1077; &#1086; &#1087;&#1088;&#1086;&#1076;&#1091;&#1082;&#1090;&#1072;&#1093; &#1082;&#1086;&#1084;&#1087;&#1072;&#1085;&#1080;&#1080; &#1052;&#1077;&#1088;&#1080;&#1072;&#1083;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1099;&#1077; &#1087;&#1086;&#1084;&#1086;&#1075;&#1091;&#1090;  &#1087;&#1088;&#1077;&#1076;&#1086;&#1090;&#1074;&#1088;&#1072;&#1090;&#1080;&#1090;&#1100; &#1074;&#1086;&#1079;&#1084;&#1086;&#1078;&#1085;&#1099;&#1077; &#1087;&#1088;&#1086;&#1073;&#1083;&#1077;&#1084;&#1099; &#1089;&#1086; &#1079;&#1076;&#1086;&#1088;&#1086;&#1074;&#1100;&#1077;&#1084; &#1091; &#1042;&#1072;&#1096;&#1080;&#1093; &#1076;&#1086;&#1084;&#1072;&#1096;&#1085;&#1080;&#1093;  &#1083;&#1102;&#1073;&#1080;&#1084;&#1094;&#1077;&#1074;!";
Caption[4]  = '<span class=\"goldpagetitle\">' +"&#1053;&#1086;&#1074;&#1086;&#1089;&#1090;&#1080;" + '</span><br \/>' + "&#1044;&#1086;&#1073;&#1088;&#1086; &#1087;&#1086;&#1078;&#1072;&#1083;&#1086;&#1074;&#1072;&#1090;&#1100; &#1085;&#1072; &#1089;&#1072;&#1081;&#1090; &#1082;&#1086;&#1084;&#1087;&#1072;&#1085;&#1080;&#1080; &#1052;&#1077;&#1088;&#1080;&#1072;&#1083; &#1074; &#1056;&#1086;&#1089;&#1089;&#1080;&#1080;! &#1047;&#1076;&#1077;&#1089;&#1100; &#1042;&#1099; &#1089;&#1084;&#1086;&#1078;&#1077;&#1090;&#1077; &#1073;&#1099;&#1089;&#1090;&#1088;&#1086; &#1080; &#1087;&#1088;&#1086;&#1089;&#1090;&#1086; &#1085;&#1072;&#1081;&#1090;&#1080; &#1080;&#1085;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1080;&#1102;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1072;&#1103; &#1087;&#1086;&#1084;&#1086;&#1078;&#1077;&#1090; &#1042;&#1072;&#1084;  &#1089;&#1086;&#1093;&#1088;&#1072;&#1085;&#1080;&#1090;&#1100; &#1079;&#1076;&#1086;&#1088;&#1086;&#1074;&#1100;&#1077; &#1042;&#1072;&#1096;&#1080;&#1093; &#1076;&#1086;&#1084;&#1072;&#1096;&#1085;&#1080;&#1093; &#1087;&#1080;&#1090;&#1086;&#1084;&#1094;&#1077;&#1074; &#1080; &#1089;&#1076;&#1077;&#1083;&#1072;&#1090;&#1100; &#1080;&#1093; &#1089;&#1095;&#1072;&#1089;&#1090;&#1083;&#1080;&#1074;&#1099;&#1084;&#1080;!" + '<br \/>' + "&#1052;&#1099;  &#1089;&#1086;&#1079;&#1076;&#1072;&#1083;&#1080; &#1101;&#1090;&#1086;&#1090; &#1089;&#1072;&#1081;&#1090; &#1076;&#1083;&#1103; &#1074;&#1089;&#1077;&#1093; &#1074;&#1083;&#1072;&#1076;&#1077;&#1083;&#1100;&#1094;&#1077;&#1074; &#1089;&#1086;&#1073;&#1072;&#1082; &#1080; &#1082;&#1086;&#1096;&#1077;&#1082;, &#1087;&#1086;&#1090;&#1086;&#1084;&#1091; &#1095;&#1090;&#1086; &#1090;&#1072;&#1082;&#1078;&#1077;  &#1082;&#1072;&#1082; &#1080; &#1042;&#1099;, &#1084;&#1099; &#1079;&#1072;&#1073;&#1086;&#1090;&#1080;&#1084;&#1089;&#1103; &#1086; &#1079;&#1076;&#1086;&#1088;&#1086;&#1074;&#1100;&#1077; &#1042;&#1072;&#1096;&#1080;&#1093; &#1087;&#1080;&#1090;&#1086;&#1084;&#1094;&#1077;&#1074;! " + '<br \/>' + "&#1053;&#1072; &#1101;&#1090;&#1086;&#1084; &#1089;&#1072;&#1081;&#1090;&#1077; &#1042;&#1099; &#1091;&#1079;&#1085;&#1072;&#1077;&#1090;&#1077; &#1086; &#1087;&#1088;&#1086;&#1076;&#1091;&#1082;&#1090;&#1072;&#1093; &#1082;&#1086;&#1084;&#1087;&#1072;&#1085;&#1080;&#1080; &#1052;&#1077;&#1088;&#1080;&#1072;&#1083;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1099;&#1077; &#1087;&#1086;&#1084;&#1086;&#1075;&#1091;&#1090;  &#1087;&#1088;&#1077;&#1076;&#1086;&#1090;&#1074;&#1088;&#1072;&#1090;&#1080;&#1090;&#1100; &#1074;&#1086;&#1079;&#1084;&#1086;&#1078;&#1085;&#1099;&#1077; &#1087;&#1088;&#1086;&#1073;&#1083;&#1077;&#1084;&#1099; &#1089;&#1086; &#1079;&#1076;&#1086;&#1088;&#1086;&#1074;&#1100;&#1077;&#1084; &#1091; &#1042;&#1072;&#1096;&#1080;&#1093; &#1076;&#1086;&#1084;&#1072;&#1096;&#1085;&#1080;&#1093;  &#1083;&#1102;&#1073;&#1080;&#1084;&#1094;&#1077;&#1074;!";
Caption[5]  = '<span class=\"goldpagetitle\">' +"&#1053;&#1086;&#1074;&#1086;&#1089;&#1090;&#1080;" + '</span><br \/>' + "&#1044;&#1086;&#1073;&#1088;&#1086; &#1087;&#1086;&#1078;&#1072;&#1083;&#1086;&#1074;&#1072;&#1090;&#1100; &#1085;&#1072; &#1089;&#1072;&#1081;&#1090; &#1082;&#1086;&#1084;&#1087;&#1072;&#1085;&#1080;&#1080; &#1052;&#1077;&#1088;&#1080;&#1072;&#1083; &#1074; &#1056;&#1086;&#1089;&#1089;&#1080;&#1080;! &#1047;&#1076;&#1077;&#1089;&#1100; &#1042;&#1099; &#1089;&#1084;&#1086;&#1078;&#1077;&#1090;&#1077; &#1073;&#1099;&#1089;&#1090;&#1088;&#1086; &#1080; &#1087;&#1088;&#1086;&#1089;&#1090;&#1086; &#1085;&#1072;&#1081;&#1090;&#1080; &#1080;&#1085;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1080;&#1102;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1072;&#1103; &#1087;&#1086;&#1084;&#1086;&#1078;&#1077;&#1090; &#1042;&#1072;&#1084;  &#1089;&#1086;&#1093;&#1088;&#1072;&#1085;&#1080;&#1090;&#1100; &#1079;&#1076;&#1086;&#1088;&#1086;&#1074;&#1100;&#1077; &#1042;&#1072;&#1096;&#1080;&#1093; &#1076;&#1086;&#1084;&#1072;&#1096;&#1085;&#1080;&#1093; &#1087;&#1080;&#1090;&#1086;&#1084;&#1094;&#1077;&#1074; &#1080; &#1089;&#1076;&#1077;&#1083;&#1072;&#1090;&#1100; &#1080;&#1093; &#1089;&#1095;&#1072;&#1089;&#1090;&#1083;&#1080;&#1074;&#1099;&#1084;&#1080;!" + '<br \/>' + "&#1052;&#1099;  &#1089;&#1086;&#1079;&#1076;&#1072;&#1083;&#1080; &#1101;&#1090;&#1086;&#1090; &#1089;&#1072;&#1081;&#1090; &#1076;&#1083;&#1103; &#1074;&#1089;&#1077;&#1093; &#1074;&#1083;&#1072;&#1076;&#1077;&#1083;&#1100;&#1094;&#1077;&#1074; &#1089;&#1086;&#1073;&#1072;&#1082; &#1080; &#1082;&#1086;&#1096;&#1077;&#1082;, &#1087;&#1086;&#1090;&#1086;&#1084;&#1091; &#1095;&#1090;&#1086; &#1090;&#1072;&#1082;&#1078;&#1077;  &#1082;&#1072;&#1082; &#1080; &#1042;&#1099;, &#1084;&#1099; &#1079;&#1072;&#1073;&#1086;&#1090;&#1080;&#1084;&#1089;&#1103; &#1086; &#1079;&#1076;&#1086;&#1088;&#1086;&#1074;&#1100;&#1077; &#1042;&#1072;&#1096;&#1080;&#1093; &#1087;&#1080;&#1090;&#1086;&#1084;&#1094;&#1077;&#1074;! " + '<br \/>' + "&#1053;&#1072; &#1101;&#1090;&#1086;&#1084; &#1089;&#1072;&#1081;&#1090;&#1077; &#1042;&#1099; &#1091;&#1079;&#1085;&#1072;&#1077;&#1090;&#1077; &#1086; &#1087;&#1088;&#1086;&#1076;&#1091;&#1082;&#1090;&#1072;&#1093; &#1082;&#1086;&#1084;&#1087;&#1072;&#1085;&#1080;&#1080; &#1052;&#1077;&#1088;&#1080;&#1072;&#1083;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1099;&#1077; &#1087;&#1086;&#1084;&#1086;&#1075;&#1091;&#1090;  &#1087;&#1088;&#1077;&#1076;&#1086;&#1090;&#1074;&#1088;&#1072;&#1090;&#1080;&#1090;&#1100; &#1074;&#1086;&#1079;&#1084;&#1086;&#1078;&#1085;&#1099;&#1077; &#1087;&#1088;&#1086;&#1073;&#1083;&#1077;&#1084;&#1099; &#1089;&#1086; &#1079;&#1076;&#1086;&#1088;&#1086;&#1074;&#1100;&#1077;&#1084; &#1091; &#1042;&#1072;&#1096;&#1080;&#1093; &#1076;&#1086;&#1084;&#1072;&#1096;&#1085;&#1080;&#1093;  &#1083;&#1102;&#1073;&#1080;&#1084;&#1094;&#1077;&#1074;!";
//Caption[6]  = "";
//Caption[7]  = "";
//Caption[8]  = "";
//Caption[9]  = "";
//-------------------------------------------

//links here---------------------------------
link[1] = "";
link[2] = "";
link[3] = "";
link[4] = "";
link[5] = "";
//link[6] = "";
//link[7] = "";
//link[8] = "";
//link[9] = "";
//--------------------------------------------

var tss;
var iss;
var Lo = 1
var Hi = 9
var ranNum = (getCookie('cobrand')*1)
if (ranNum != '' && ranNum != null)
{
ranNum = ranNum + 1
}
else
{
ranNum = 1
}
if (ranNum>Hi) ranNum=1;
setCookie('cobrand',ranNum);
var jss = ranNum;
var pss = Picture1.length-1;
var preLoad1 = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad1[iss] = new Image();
preLoad1[iss].src = Picture1[iss];}
var preLoad2 = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad2[iss] = new Image();
preLoad2[iss].src = Picture2[iss];}


function runSlideShow(){
if (document.all){
document.images.PictureBox1.style.filter="blendTrans(duration="+CrossFadeDuration+")";
document.images.PictureBox1.filters.blendTrans.Apply();
document.images.PictureBox2.style.filter="blendTrans(duration="+CrossFadeDuration+")";
document.images.PictureBox2.filters.blendTrans.Apply();
}
document.images.PictureBox1.src = preLoad1[jss].src;
document.images.PictureBox2.src = preLoad2[jss].src;
document.getElementById('logolink').href=link[jss];
document.getElementById('piclink').href=link[jss];
CrossFadeDuration = .35
if (document.all) document.images.PictureBox1.filters.blendTrans.Play();
if (document.all) document.images.PictureBox2.filters.blendTrans.Play();
if (document.getElementById) document.getElementById("TextLayer").innerHTML= Caption[jss];
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}


	

 
function getCookie(name) { // use: getCookie("name");
  	var objCookie = document.cookie;
    var index = objCookie.indexOf(name + "=");
    if (index == -1) return null;
    index = objCookie.indexOf("=", index) + 1; // first character
    var endstr = objCookie.indexOf(";", index);
    if (endstr == -1) endstr = objCookie.length; // last character
    return unescape(objCookie.substring(index, endstr));
  }
  
 
 function setCookie(name, value) {
 var days = 365;
 if (!days) days = 1; // default to 1 day if empty 
 var expdate = new Date(); 
 expdate.setTime(expdate.getTime() + days*24*60*60*1000); 
 document.cookie = name + "=" + escape(value) + "; expires=" + expdate.toGMTString(); 
 } 