﻿
function sun(test){
			var txt=test;
			if(txt=="1")$(".a1").click();
			if(txt=="2")$(".a2").click();
			if(txt=="3")$(".a3").click();
			if(txt=="4")$(".a4").click();
			if(txt=="5")$(".a5").click();
			if(txt=="6")$(".a6").click();
			if(txt=="7")$(".a7").click();
			if(txt=="8")$(".a8").click();
			if(txt=="9")$(".a9").click();
			
			if(txt=="10")$(".a10").click();
			if(txt=="11")$(".a11").click();
			if(txt=="12")$(".a12").click();
			if(txt=="13")$(".a13").click();
			if(txt=="14")$(".a14").click();
			if(txt=="15")$(".a15").click();

           }
 
//=============================================
 
$(document).ready(function(){   ;

    $(".a1").colorbox({width:"930", height:"570", iframe:true,title:"othink微想智森实景三维VR漫游"});
	$(".a2").colorbox({width:"930", height:"570", iframe:true,title:"othink微想智森实景三维VR漫游"});
	$(".a3").colorbox({width:"930", height:"570", iframe:true,title:"othink微想智森实景三维VR漫游"});
	$(".a4").colorbox({width:"930", height:"570", iframe:true,title:"othink微想智森实景三维VR漫游"});
	$(".a5").colorbox({width:"930", height:"570", iframe:true,title:"othink微想智森实景三维VR漫游"});
	$(".a6").colorbox({width:"930", height:"570", iframe:true,title:"othink微想智森实景三维VR漫游"});
	$(".a7").colorbox({width:"930", height:"570", iframe:true,title:"othink微想智森实景三维VR漫游"});
	$(".a8").colorbox({width:"930", height:"570", iframe:true,title:"othink微想智森实景三维VR漫游"});
	$(".a9").colorbox({width:"930", height:"570", iframe:true,title:"othink微想智森实景三维VR漫游"});

    $(".a1").colorbox({width:"930", height:"570", iframe:true,title:"othink微想智森实景三维VR漫游"});
	$(".a2").colorbox({width:"930", height:"570", iframe:true,title:"othink微想智森实景三维VR漫游"});
	$(".a3").colorbox({width:"930", height:"570", iframe:true,title:"othink微想智森实景三维VR漫游"});
	$(".a4").colorbox({width:"930", height:"570", iframe:true,title:"othink微想智森实景三维VR漫游"});
	$(".a5").colorbox({width:"930", height:"570", iframe:true,title:"othink微想智森实景三维VR漫游"});
	$(".a6").colorbox({width:"930", height:"570", iframe:true,title:"othink微想智森实景三维VR漫游"});
	$(".a7").colorbox({width:"930", height:"570", iframe:true,title:"othink微想智森实景三维VR漫游"});
	$(".a8").colorbox({width:"930", height:"570", iframe:true,title:"othink微想智森实景三维VR漫游"});
	$(".a9").colorbox({width:"930", height:"570", iframe:true,title:"othink微想智森实景三维VR漫游"});
	
	$(".a10").colorbox({width:"930", height:"570", iframe:true,title:"云安会都绿树中的会堂"});
	$(".a11").colorbox({width:"930", height:"570", iframe:true,title:"云安会都贵宾楼、回味堂及娱乐中心夜景"});
	$(".a12").colorbox({width:"930", height:"570", iframe:true,title:"云安会都化石林"});
	$(".a13").colorbox({width:"930", height:"570", iframe:true,title:"云安会都水晶宫夜景"});
	$(".a14").colorbox({width:"930", height:"570", iframe:true,title:"云安会都鱼池"});
	$(".a15").colorbox({width:"930", height:"570", iframe:true,title:"云安会都清莲池及别墅"});

});	

//================================================




$("#main_nav a").eq(0).addClass("a1")
$("#main_nav a").eq(1).addClass("a2")
$("#main_nav a").eq(2).addClass("a3")
$("#main_nav a").eq(3).addClass("a4")
$("#main_nav a").eq(4).addClass("a5")
$("#main_nav a").eq(5).addClass("a6")
$("#main_nav a").eq(6).addClass("a7")
$("#main_nav a").eq(7).addClass("a8")
$("#main_nav a").eq(8).addClass("a9")

$("#main_nav a").eq(9).addClass("a10")
$("#main_nav a").eq(10).addClass("a11")
$("#main_nav a").eq(11).addClass("a12")
$("#main_nav a").eq(12).addClass("a13")
$("#main_nav a").eq(13).addClass("a14")
$("#main_nav a").eq(14).addClass("a15")

//================================================
