var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911513&x=315',
		'title': '',
		'imageId': '69911513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911549&x=315',
		'title': '',
		'imageId': '69911549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911551&x=315',
		'title': '',
		'imageId': '69911551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911530&x=315',
		'title': '',
		'imageId': '69911530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911531&x=315',
		'title': '',
		'imageId': '69911531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911496&x=315',
		'title': '',
		'imageId': '69911496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911498&x=315',
		'title': '',
		'imageId': '69911498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911497&x=315',
		'title': '',
		'imageId': '69911497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911499&x=315',
		'title': '',
		'imageId': '69911499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911514&x=315',
		'title': '',
		'imageId': '69911514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911512&x=315',
		'title': '',
		'imageId': '69911512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911515&x=315',
		'title': '',
		'imageId': '69911515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911516&x=315',
		'title': '',
		'imageId': '69911516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911517&x=315',
		'title': '',
		'imageId': '69911517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911533&x=315',
		'title': '',
		'imageId': '69911533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911532&x=315',
		'title': '',
		'imageId': '69911532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911534&x=315',
		'title': '',
		'imageId': '69911534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911537&x=315',
		'title': '',
		'imageId': '69911537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911545&x=315',
		'title': '',
		'imageId': '69911545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911548&x=315',
		'title': '',
		'imageId': '69911548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911557&x=315',
		'title': '',
		'imageId': '69911557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911495&x=315',
		'title': '',
		'imageId': '69911495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008095&docid=69911494&x=315',
		'title': '',
		'imageId': '69911494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008095';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
