var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69985019&x=2330',
		'title': '',
		'imageId': '69985019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69985029&x=2330',
		'title': '',
		'imageId': '69985029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69985043&x=2330',
		'title': '',
		'imageId': '69985043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69985062&x=2330',
		'title': '',
		'imageId': '69985062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69985052&x=2330',
		'title': '',
		'imageId': '69985052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69985057&x=2330',
		'title': '',
		'imageId': '69985057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69985063&x=2330',
		'title': '',
		'imageId': '69985063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69985066&x=2330',
		'title': '',
		'imageId': '69985066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69984993&x=2330',
		'title': '',
		'imageId': '69984993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69984983&x=2330',
		'title': '',
		'imageId': '69984983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69984978&x=2330',
		'title': '',
		'imageId': '69984978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69985036&x=2330',
		'title': '',
		'imageId': '69985036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69985002&x=2330',
		'title': '',
		'imageId': '69985002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69984981&x=2330',
		'title': '',
		'imageId': '69984981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69984980&x=2330',
		'title': '',
		'imageId': '69984980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69984979&x=2330',
		'title': '',
		'imageId': '69984979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69985004&x=2330',
		'title': '',
		'imageId': '69985004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69985010&x=2330',
		'title': '',
		'imageId': '69985010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69984982&x=2330',
		'title': '',
		'imageId': '69984982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69984989&x=2330',
		'title': '',
		'imageId': '69984989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69984997&x=2330',
		'title': '',
		'imageId': '69984997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69984998&x=2330',
		'title': '',
		'imageId': '69984998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69985035&x=2330',
		'title': '',
		'imageId': '69985035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69985037&x=2330',
		'title': '',
		'imageId': '69985037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69985042&x=2330',
		'title': '',
		'imageId': '69985042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69985050&x=2330',
		'title': '',
		'imageId': '69985050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69985047&x=2330',
		'title': '',
		'imageId': '69985047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69985008&x=2330',
		'title': '',
		'imageId': '69985008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69985015&x=2330',
		'title': '',
		'imageId': '69985015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69985022&x=2330',
		'title': '',
		'imageId': '69985022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69985025&x=2330',
		'title': '',
		'imageId': '69985025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011090&docid=69985016&x=2330',
		'title': '',
		'imageId': '69985016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011090';

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