
    jQuery(document).ready(function(){
        //Examples of how to assign the ColorBox event to elements
        jQuery("a[data-rel='logo']").colorbox();
		jQuery("a[data-rel='print']").colorbox();
		jQuery("a[data-rel='webdesign']").colorbox();
		jQuery("a[data-rel='flash1']").colorbox({iframe:true, innerWidth:984, innerHeight:248});
		jQuery("a[data-rel='flash2']").colorbox({iframe:true, innerWidth:958, innerHeight:255});
		jQuery("a[data-rel='flash3']").colorbox({iframe:true, innerWidth:960, innerHeight:409});
		jQuery("a[data-rel='flash4']").colorbox({iframe:true, innerWidth:1076, innerHeight:730});
		jQuery("a[data-rel='flash5']").colorbox({iframe:true, innerWidth:480, innerHeight:240});
		jQuery("a[data-rel='flash6']").colorbox({iframe:true, innerWidth:967, innerHeight:318});
		jQuery("a[data-rel='flash7']").colorbox({iframe:true, innerWidth:960, innerHeight:245});
		jQuery("a[data-rel='flash8']").colorbox({iframe:true, innerWidth:803, innerHeight:316});
		jQuery("a[data-rel='flash9']").colorbox({iframe:true, innerWidth:867, innerHeight:293});
		jQuery("a[data-rel='flash10']").colorbox({iframe:true, innerWidth:918, innerHeight:181});
		jQuery("a[data-rel='flash11']").colorbox({iframe:true, innerWidth:728, innerHeight:90});
		jQuery("a[data-rel='flash12']").colorbox({iframe:true, innerWidth:300, innerHeight:250});
		jQuery("a[data-rel='flash13']").colorbox({iframe:true, innerWidth:993, innerHeight:558});
		jQuery("a[data-rel='flash14']").colorbox({iframe:true, innerWidth:452, innerHeight:199});
		jQuery("a[data-rel='flash15']").colorbox({iframe:true, innerWidth:728, innerHeight:90});
		jQuery("a[data-rel='flash16']").colorbox({iframe:true, innerWidth:728, innerHeight:90});
		jQuery("a[data-rel='flash17']").colorbox({iframe:true, innerWidth:728, innerHeight:90});
		jQuery("a[data-rel='flash18']").colorbox({iframe:true, innerWidth:158, innerHeight:598});
		jQuery("a[rel='guarantee']").colorbox({iframe:true, innerWidth:726, innerHeight:321});
		jQuery("a[rel='guarantee1']").colorbox({iframe:true, innerWidth:726, innerHeight:321});
        jQuery(".popuppaul").colorbox({inline:true, href:"#aboutpaul"});
        jQuery(".popupron").colorbox({inline:true, href:"#aboutron"});
        jQuery(".popupryan").colorbox({inline:true, href:"#aboutryan"});
		
		jQuery("a[data-rel='infograph']").colorbox();
		jQuery("a[data-rel='smediapackage']").colorbox();
        jQuery("a[rel='example2']").colorbox({transition:"fade"});
        jQuery("a[rel='example3']").colorbox({transition:"none", width:"75%", height:"75%"});
        jQuery("a[rel='example4']").colorbox({slideshow:true});
        jQuery(".example5").colorbox();
        jQuery(".example6").colorbox({iframe:true, innerWidth:425, innerHeight:344});
        jQuery(".example7").colorbox({width:"80%", height:"80%", iframe:true});
        jQuery(".example9").colorbox({
            onOpen:function(){ alert('onOpen: colorbox is about to open'); },
            onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },
            onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },
            onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },
            onClosed:function(){ alert('onClosed: colorbox has completely closed'); }
        });
        
        //Example of preserving a JavaScript event for inline calls.
        jQuery("#click").click(function(){ 
            jQuery('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
            return false;
        });
    });

