var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=913099&docid=7264835&x=2410',
		'title': '',
		'imageId': '7264835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913099&docid=7264890&x=2410',
		'title': '',
		'imageId': '7264890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913099&docid=7264937&x=2410',
		'title': '',
		'imageId': '7264937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913099&docid=7264926&x=2410',
		'title': '',
		'imageId': '7264926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913099&docid=7264841&x=2410',
		'title': '',
		'imageId': '7264841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913099&docid=7264844&x=2410',
		'title': '',
		'imageId': '7264844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913099&docid=7264864&x=2410',
		'title': '',
		'imageId': '7264864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913099&docid=7264869&x=2410',
		'title': '',
		'imageId': '7264869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913099&docid=7264872&x=2410',
		'title': '',
		'imageId': '7264872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913099&docid=7264875&x=2410',
		'title': '',
		'imageId': '7264875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913099&docid=7264881&x=2410',
		'title': '',
		'imageId': '7264881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913099&docid=7264931&x=2410',
		'title': '',
		'imageId': '7264931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913099&docid=7264934&x=2410',
		'title': '',
		'imageId': '7264934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913099&docid=7264940&x=2410',
		'title': '',
		'imageId': '7264940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913099&docid=7264899&x=2410',
		'title': '',
		'imageId': '7264899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913099&docid=7264884&x=2410',
		'title': '',
		'imageId': '7264884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913099&docid=7264917&x=2410',
		'title': '',
		'imageId': '7264917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913099&docid=7264907&x=2410',
		'title': '',
		'imageId': '7264907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913099&docid=7264847&x=2410',
		'title': '',
		'imageId': '7264847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913099&docid=7264853&x=2410',
		'title': '',
		'imageId': '7264853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913099&docid=7264856&x=2410',
		'title': '',
		'imageId': '7264856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913099&docid=7264859&x=2410',
		'title': '',
		'imageId': '7264859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #913099';

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";
	})
}
