var mapPop = false;


$(document).ready(function(){
	$("#mapShow").miniZoomPan({
		sW: "200px",
		sH: "123px",
		lW: "952px",
		lH: "587px"
	})
	addMap();
	$(document).click(function(){
		if(mapPop)
			mapHide();
	});
});

function mapHide(){
	mapPop = false;
	$("#mapBig").hide();
	return false;
}

function mapShow(){
	window.setTimeout("$('#mapBig').show();mapPop=true", 100)
	return false;
}

function addMap(){
	txt = "Click here to view videos from ";
map = "<map name=\"map\">";
map += "<area href=\"?state=WA\" title=\""+txt+"Washinton\" shape=\"poly\" coords=\"58,74,54,71,55,60,59,59,56,55,54,34,56,27,69,36,82,40,86,45,89,45,86,40,88,37,86,35,89,30,85,22,164,43,152,95,152,103,127,98,107,96,100,97,92,97,83,93,70,93,67,89,67,80,62,76,59,74\" />";
map += "<area href=\"?state=OR\" title=\""+txt+"Oregon\" shape=\"poly\" coords=\"24,158,21,154,22,149,23,140,39,114,52,78,58,74,64,78,67,89,73,94,80,92,92,97,105,98,112,97,135,100,152,104,155,110,157,114,155,117,149,125,144,132,140,137,143,141,143,146,132,187\" />";
map += "<area href=\"?state=ID\" title=\""+txt+"Idaho\" shape=\"poly\" coords=\"132,187,144,142,141,139,140,136,148,128,149,125,156,116,157,111,153,106,153,92,165,43,178,46,174,65,177,71,177,77,179,83,181,83,185,92,189,98,192,98,189,108,185,119,188,123,195,119,196,129,198,137,203,141,203,147,205,150,208,148,213,149,221,149,226,150,229,146,232,152,224,205\" />";
map += "<area href=\"?state=MT\" title=\""+txt+"Montana\" shape=\"poly\" coords=\"233,152,229,146,225,150,220,149,215,149,213,150,208,147,205,149,203,147,203,142,198,137,195,120,192,121,188,123,186,119,188,109,192,99,187,95,183,88,179,82,177,75,177,71,174,64,178,45,263,61,347,71,339,155,235,142\" />";
map += "<area href=\"?state=WY\" title=\""+txt+"Wyoming\" shape=\"poly\" coords=\"222,227,235,142,339,155,332,240\" />";
map += "<area href=\"?state=ND\" title=\""+txt+"North Dakota\" shape=\"poly\" coords=\"341,135,347,71,444,75,444,95,447,105,449,118,452,140\" />";
map += "<area href=\"?state=SD\" title=\""+txt+"South Dakota\" shape=\"poly\" coords=\"336,198,341,134,452,140,451,143,448,146,449,149,454,153,454,191,451,193,451,197,454,200,452,207,453,213,445,207,438,205,429,207,421,202\" />";
map += "<area href=\"?state=NE\" title=\""+txt+"Nebraska\" shape=\"poly\" coords=\"332,239,336,197,422,202,429,207,439,205,449,210,450,213,454,214,462,237,464,252,471,266,363,264,364,242\" />";
map += "<area href=\"?state=MN\" title=\""+txt+"Minnesota\" shape=\"poly\" coords=\"453,191,454,153,448,146,452,142,451,130,448,104,444,76,473,75,473,67,477,70,480,81,492,84,497,85,499,82,509,85,516,88,526,94,535,90,536,92,546,91,554,93,533,104,515,124,515,136,509,140,507,145,511,150,509,163,514,167,517,169,532,181,534,190,488,191\" />";
map += "<area href=\"?state=IA\" title=\""+txt+"Iowa\" shape=\"poly\" coords=\"465,254,463,246,461,233,453,212,451,208,454,198,451,194,452,191,534,190,537,194,536,203,544,209,553,221,550,229,545,234,540,234,539,239,542,242,539,250,534,257,529,252\" />";
map += "<area href=\"?state=WI\" title=\""+txt+"Wisconsin\" shape=\"poly\" coords=\"545,210,535,202,537,195,534,190,533,184,520,170,517,170,515,168,512,166,509,164,509,154,511,150,507,145,510,139,516,135,517,122,525,123,536,117,535,123,541,124,546,126,550,129,565,132,579,136,583,140,585,151,581,163,583,165,594,149,589,166,587,180,586,189,586,194,586,202,589,207,588,208\" />";
map += "<area href=\"?state=IL\" title=\""+txt+"Illinois\" shape=\"poly\" coords=\"574,326,571,323,571,317,568,312,565,309,554,301,557,288,548,286,547,280,535,268,533,257,536,252,539,250,541,245,541,241,539,238,540,234,548,231,552,222,545,210,588,208,595,226,599,274,598,281,600,285,598,293,594,301,593,308,592,313,593,316,587,317,587,325,580,322,579,322\" />";
map += "<area href=\"?state=IN\" title=\""+txt+"Indiana\" shape=\"poly\" coords=\"594,306,595,298,600,288,600,282,598,280,598,272,595,224,606,221,636,219,644,276,645,281,639,284,636,284,634,289,628,296,627,301,622,301,622,299,617,302,616,305,612,302,609,307,605,304,604,304\" />";
map += "<area href=\"?state=MI\" title=\""+txt+"Michigan\" shape=\"poly\" coords=\"607,221,611,214,614,199,608,184,606,181,607,177,607,173,609,162,608,159,617,146,617,156,620,154,621,145,627,142,623,139,628,135,633,135,631,128,617,126,614,130,605,131,603,135,599,134,596,136,594,134,587,150,583,139,575,134,554,129,548,129,544,124,553,118,564,115,572,105,580,101,574,108,570,117,576,115,583,115,587,123,594,122,599,122,607,116,617,117,620,114,622,113,621,119,624,119,635,118,635,125,645,125,645,128,633,127,634,136,648,141,650,144,648,146,652,153,653,161,650,163,649,168,645,169,645,175,648,178,653,175,660,166,664,168,670,186,669,194,666,195,664,202,662,210,658,217,637,220,620,220\" />";
map += "<area href=\"?state=OH\" title=\""+txt+"Ohio\" shape=\"poly\" coords=\"644,275,637,219,658,217,665,219,672,219,675,222,680,220,687,218,704,203,708,233,706,252,700,261,696,262,693,269,692,273,688,271,686,284,682,284,675,279,670,283,666,280,662,282,660,281,654,280,651,275\" />";
map += "<area href=\"?state=PA\" title=\""+txt+"Pennsylvania\" shape=\"poly\" coords=\"712,251,703,204,714,196,715,202,783,189,789,193,791,197,795,200,792,209,794,212,791,215,792,218,801,224,792,236,785,238,724,250\" />";
map += "<area href=\"?state=NY\" title=\""+txt+"New York\" shape=\"poly\" coords=\"715,202,715,197,727,184,727,182,720,174,736,168,744,170,756,167,758,163,764,160,762,155,763,150,759,148,776,124,799,120,803,134,801,138,805,145,805,147,809,152,811,166,812,181,814,200,814,208,817,205,836,197,830,205,813,213,811,213,810,204,796,200,789,196,787,191,782,189\" />";
map += "<area href=\"?state=NH\" title=\""+txt+"New Hampshire\" shape=\"poly\" coords=\"822,163,822,130,827,124,825,114,777,52,681,51,680,36,779,38,779,45,825,112,827,106,832,106,843,144,847,149,847,154,842,159\" />";
map += "<area href=\"?state=ME\" title=\""+txt+"Maine\" shape=\"poly\" coords=\"843,145,831,106,834,105,839,90,837,83,838,78,838,69,844,53,850,57,860,52,866,56,876,85,881,85,882,92,888,92,891,96,890,102,880,111,878,109,872,112,871,116,866,112,866,123,863,123,861,129,855,131,853,130,849,149\" />";
map += "<area href=\"?state=VT\" title=\""+txt+"Vermont\" shape=\"poly\" coords=\"811,165,811,160,809,156,808,150,804,148,805,143,801,137,803,134,799,120,805,117,775,74,775,78,721,77,721,63,776,64,775,69,808,117,824,113,827,123,822,130,822,150,821,163\" />";
map += "<area href=\"?state=MA\" title=\""+txt+"Massachusetts\" shape=\"poly\" coords=\"812,182,811,166,820,163,776,99,772,99,772,104,684,101,684,88,772,90,772,97,777,97,821,164,841,159,847,154,850,159,848,166,849,167,852,167,857,174,866,173,859,179,857,177,852,179,851,183,843,174\" />";
map += "<area href=\"?state=CT\" title=\""+txt+"Connecticut\" shape=\"poly\" coords=\"813,203,814,198,813,181,839,176,840,188,835,190,870,225,870,220,940,222,940,235,868,233,834,192,823,194,813,203\" />";
map += "<area href=\"?state=RI\" title=\""+txt+"Rhode Island\" shape=\"poly\" coords=\"841,190,838,176,844,174,851,182,849,183,860,196,940,196,940,209,861,208,861,202,845,186\" />";
map += "<area href=\"?state=NJ\" title=\""+txt+"New Jersey\" shape=\"poly\" coords=\"804,251,804,246,790,237,802,225,792,217,793,211,792,209,796,200,810,204,811,211,808,216,810,217,812,216,813,231,811,235,870,248,870,244,937,246,936,261,870,260,870,252,811,238\" />";
map += "<area href=\"?state=CA\" title=\""+txt+"California\" shape=\"poly\" coords=\"85,384,86,372,76,356,68,364,65,360,76,355,70,354,68,348,56,338,49,344,42,344,41,342,48,342,55,337,37,329,40,316,25,283,29,278,30,273,22,267,22,259,24,251,18,245,19,239,11,223,15,207,11,192,17,182,23,159,87,177,71,238,140,342,139,347,142,351,142,355,144,358,137,366,135,372,132,376,132,384,135,384,134,388,128,390,88,384\" />";
map += "<area href=\"?state=NV\" title=\""+txt+"Nevada\" shape=\"poly\" coords=\"140,341,71,237,86,177,178,197,155,320,151,322,145,318,142,321\" />";
map += "<area href=\"?state=UT\" title=\""+txt+"Utah\" shape=\"poly\" coords=\"158,302,178,197,224,205,221,227,253,231,241,316\" />";
map += "<area href=\"?state=AZ\" title=\""+txt+"Arizona\" shape=\"poly\" coords=\"126,394,128,390,135,388,135,385,131,384,131,375,136,372,138,365,145,359,139,345,139,342,142,338,142,319,146,318,153,322,158,302,242,316,225,436,188,430\" />";
map += "<area href=\"?state=CO\" title=\""+txt+"Colorado\" shape=\"poly\" coords=\"241,316,253,231,364,242,359,328,295,322\" />";
map += "<area href=\"?state=NM\" title=\""+txt+"New Mexico\" shape=\"poly\" coords=\"225,435,241,316,295,323,342,326,333,432,270,428,270,432,240,428,239,437\" />";
map += "<area href=\"?state=KS\" title=\""+txt+"Kansas\" shape=\"poly\" coords=\"359,328,363,264,472,267,474,269,479,269,479,273,476,276,478,282,482,285,483,331,420,330\" />";
map += "<area href=\"?state=OK\" title=\""+txt+"Oklahoma\" shape=\"poly\" coords=\"341,338,342,327,424,331,483,331,487,364,487,403,474,396,474,398,466,396,463,399,458,398,457,402,449,399,444,398,444,396,440,401,435,398,433,397,429,397,427,399,422,392,418,393,414,391,405,390,405,387,398,385,397,387,391,381,393,340\" />";
map += "<area href=\"?state=TX\" title=\""+txt+"Texas\" shape=\"poly\" coords=\"436,566,433,567,428,564,417,562,402,556,398,546,395,543,394,530,385,520,380,516,371,493,362,483,349,481,339,480,328,496,324,496,314,489,301,476,301,468,295,457,281,444,280,440,271,432,270,428,333,433,341,339,392,340,391,381,398,386,399,385,404,386,404,389,418,393,420,391,423,392,427,398,432,396,441,401,445,397,457,400,460,398,474,398,475,396,490,405,495,404,496,438,499,443,500,447,505,454,504,464,502,468,501,485,488,490,477,498,469,506,442,520,437,526,435,525,434,528,435,529,432,544,433,554\" />";
map += "<area href=\"?state=MO\" title=\""+txt+"Missouri\" shape=\"poly\" coords=\"484,341,483,285,476,276,478,271,474,268,466,258,466,254,517,253,529,251,533,257,535,267,537,273,548,281,548,286,557,287,557,290,554,299,561,309,567,310,569,317,571,323,575,327,577,329,575,335,571,339,567,349,558,349,559,346,561,342,559,339,512,341\" />";
map += "<area href=\"?state=AR\" title=\""+txt+"Arkansas\" shape=\"poly\" coords=\"488,403,487,362,484,343,559,339,561,342,557,348,558,349,568,349,565,360,561,361,563,370,557,376,555,384,550,389,546,398,547,410,546,415,495,417,495,405,492,404\" />";
map += "<area href=\"?state=LA\" title=\""+txt+"Louisiana\" shape=\"poly\" coords=\"501,486,503,474,503,468,505,464,505,454,499,441,495,435,495,416,546,415,548,424,551,430,547,439,541,447,541,457,574,456,574,460,573,465,578,471,574,478,578,479,581,475,584,480,579,482,578,488,586,489,590,493,587,496,579,491,575,491,575,487,571,490,569,496,566,493,559,497,549,493,550,491,540,484,531,484,532,489,526,490,514,485\" />";
map += "<area href=\"?state=KY\" title=\""+txt+"Kentucky\" shape=\"poly\" coords=\"572,338,577,331,577,327,575,326,580,321,587,325,587,322,587,318,593,315,592,312,595,307,606,304,609,307,612,302,617,304,621,297,622,300,628,301,628,297,635,289,635,285,645,280,643,276,652,275,654,280,660,281,664,282,670,282,676,279,677,282,682,284,682,291,693,303,680,320,672,325,596,332,596,336\" />";
map += "<area href=\"?state=TN\" title=\""+txt+"Tennessee\" shape=\"poly\" coords=\"561,371,563,364,562,361,565,358,565,355,569,347,571,337,596,336,596,333,684,324,702,321,702,326,698,332,694,332,690,337,688,335,684,338,684,342,668,350,666,355,662,356,662,362\" />";
map += "<area href=\"?state=MS\" title=\""+txt+"Mississippi\" shape=\"poly\" coords=\"541,457,540,448,550,429,548,423,546,415,548,409,545,404,547,396,550,389,552,385,555,385,556,376,560,374,561,370,597,369,596,437,600,467,586,467,579,472,573,464,574,456\" />";
map += "<area href=\"?state=AL\" title=\""+txt+"Alabama\" shape=\"poly\" coords=\"600,466,597,434,597,368,641,364,654,413,659,421,656,429,659,438,658,444,660,448,614,453,613,458,617,460,617,466,612,469,612,465,607,460,604,467\" />";
map += "<area href=\"?state=MD\" title=\""+txt+"Maryland\" shape=\"poly\" coords=\"730,259,728,249,787,238,794,262,803,262,883,299,883,293,942,294,941,310,883,309,882,302,803,266,803,272,797,273,792,269,785,269,784,264,787,262,783,249,785,247,784,245,780,250,779,263,783,269,783,273,774,272,768,268,770,263,771,258,761,256,761,253,752,246,747,248,744,251,740,250,737,254\" />";
map += "<area href=\"?state=DE\" title=\""+txt+"Delaware\" shape=\"poly\" coords=\"794,263,786,237,789,236,799,254,883,274,883,270,938,271,938,286,882,285,882,279,802,258,804,263,794,263\" />";
map += "<area href=\"?state=VA\" title=\""+txt+"Virginia\" shape=\"poly\" coords=\"670,325,681,319,681,316,694,303,699,308,703,307,705,305,707,306,712,306,713,302,719,299,723,299,723,293,730,274,733,275,736,275,738,268,743,266,747,259,747,252,757,256,758,252,762,254,763,256,769,259,770,264,770,271,772,272,777,275,787,278,788,286,795,285,795,283,796,273,802,271,799,278,798,291,796,291,794,288,794,286,787,287,790,294,789,298,793,299,796,298,799,304,750,315,702,322,702,321,691,323\" />";
map += "<area href=\"?state=WV\" title=\""+txt+"West Virginia\" shape=\"poly\" coords=\"700,308,694,303,685,295,686,293,682,290,681,285,686,285,686,281,688,279,688,273,691,271,692,273,694,272,692,270,697,261,700,261,705,255,708,234,712,251,728,250,730,259,738,253,740,250,746,249,750,246,758,251,756,256,747,252,747,258,737,270,737,274,861,345,861,338,941,340,941,356,860,356,861,350,729,274,729,279,724,290,722,296,722,300,713,302,712,306,706,306\" />";
map += "<area href=\"?state=NC\" title=\""+txt+"North Carolina\" shape=\"poly\" coords=\"661,362,663,356,667,355,667,351,684,342,684,338,688,335,690,336,691,337,694,333,697,333,700,329,703,327,703,322,800,305,801,311,806,318,804,326,798,332,791,330,795,335,792,341,797,341,799,344,786,349,776,360,774,367,764,370,742,354,724,356,720,351,699,352,683,359,672,361\" />";
map += "<area href=\"?state=SC\" title=\""+txt+"South Carolina\" shape=\"poly\" coords=\"730,415,727,414,725,409,720,406,719,400,716,396,710,392,709,389,702,383,696,381,689,370,685,369,680,366,680,364,684,358,698,352,720,350,725,355,735,354,742,354,764,369,761,374,758,378,756,387,741,405,736,405,737,408,731,416\" />";
map += "<area href=\"?state=GA\" title=\""+txt+"Georgia\" shape=\"poly\" coords=\"665,454,658,443,659,436,656,431,658,424,659,419,653,408,641,365,668,361,684,359,681,363,682,368,690,369,696,381,702,383,710,391,713,396,718,396,721,406,727,412,731,417,726,433,725,445,715,445,715,454,713,453,712,450,684,453\" />";
map += "<area href=\"?state=FL\" title=\""+txt+"Florida\" shape=\"poly\" coords=\"617,467,618,460,613,456,614,452,661,447,663,453,714,450,712,454,716,454,716,445,725,445,733,468,750,487,749,492,749,497,764,519,766,543,763,547,764,555,760,557,756,557,750,560,747,550,742,546,736,546,733,537,730,534,727,538,724,531,713,516,718,510,719,507,713,505,713,512,710,506,709,502,711,496,710,488,705,481,699,479,684,465,675,464,671,471,658,475,655,469,635,463\" />";
map += "<area href=\"?state=AK\" title=\""+txt+"Alaska\" shape=\"poly\" coords=\"3,570,29,565,40,564,44,560,52,561,56,558,64,557,66,553,70,552,76,539,71,542,69,539,66,541,65,537,55,537,55,532,58,531,56,524,49,525,47,519,40,520,36,515,46,516,49,512,46,510,47,505,51,502,56,496,37,487,31,481,31,478,38,482,39,487,56,496,58,494,60,498,63,498,65,495,72,496,73,485,68,485,58,482,54,479,57,475,52,469,62,469,63,466,68,466,68,473,76,475,77,473,74,468,74,465,71,462,72,460,66,449,70,447,78,447,83,442,93,438,100,438,103,434,108,438,108,441,111,439,114,443,124,447,138,453,139,450,149,455,148,536,150,538,156,537,164,549,171,542,174,541,179,548,193,566,197,568,201,570,203,578,201,582,194,576,194,583,188,579,185,569,181,571,179,565,178,569,175,564,173,564,169,555,172,553,167,554,155,545,155,539,151,542,139,538,131,536,125,530,118,531,119,535,119,539,113,535,106,542,99,541,104,539,101,538,105,530,113,529,109,525,99,530,94,536,90,541,92,545,87,549,96,549,95,556,90,561,85,561,84,557,87,554,92,551,85,550,80,553,66,558,63,560,64,563,58,563,56,562,51,565,48,564,40,566\" />";
map += "<area href=\"?state=HI\" title=\""+txt+"Hawaii\" shape=\"poly\" coords=\"224,519,222,517,232,512,239,510,240,513,263,522,266,520,269,524,270,527,284,531,292,532,307,540,302,542,309,550,323,556,330,566,322,570,316,574,311,580,308,575,309,567,306,560,310,554,308,551,301,542,296,543,293,536,289,539,284,538,288,535,285,533,268,529,268,542,278,543,278,556,238,555,238,541,266,542,266,528,261,523,240,515,239,516,232,514,229,516\" />";
map += "<area href=\"?state=Canada\" title=\""+txt+"Canada\" shape=\"poly\" coords=\"40,0,45,4,45,9,50,16,54,21,71,33,75,31,75,24,70,10,60,3,70,2,73,8,81,14,79,18,81,20,86,22,191,48,309,67,388,73,473,75,473,67,476,68,479,79,494,84,499,81,516,87,524,92,531,92,534,89,536,92,538,91,547,91,548,93,555,92,558,83,565,79,572,71,585,74,597,73,601,81,608,89,618,90,619,95,626,101,624,107,632,116,635,116,635,118,647,122,658,122,671,121,650,126,658,128,669,133,675,130,672,124,672,122,682,122,692,130,700,138,700,149,687,144,686,142,682,142,682,150,678,158,679,170,679,179,671,186,670,196,671,200,665,201,663,208,667,211,674,207,677,205,687,195,695,192,702,192,707,186,725,180,721,174,712,174,718,163,738,155,746,156,753,154,750,150,763,140,775,123,797,120,824,113,826,105,834,104,835,98,838,89,836,85,837,80,839,79,838,68,846,54,851,57,859,52,866,54,876,84,880,84,883,90,886,91,890,90,895,92,901,87,896,75,901,77,904,82,908,81,919,68,918,60,924,62,920,72,937,68,920,77,909,98,910,114,920,115,926,118,935,102,937,86,945,85,951,76,951,53,948,52,950,47,947,44,951,41,950,35,928,45,920,41,920,36,908,52,908,42,900,42,902,38,901,25,888,32,877,29,866,35,862,33,870,29,899,19,897,4,889,3,861,14,845,32,839,30,848,15,859,7,859,0\" />";
map += "</map>";
	$("#mapHere").html(map);
}

function unloadMess(){
	if(uploading)
		return "A video is uploading.\nPressing OK will cancel the upload."
	return true;
}


