var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815257&x=4337',
		'title': '',
		'imageId': '69815257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815204&x=4337',
		'title': '',
		'imageId': '69815204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815217&x=4337',
		'title': '',
		'imageId': '69815217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815249&x=4337',
		'title': '',
		'imageId': '69815249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815255&x=4337',
		'title': '',
		'imageId': '69815255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815258&x=4337',
		'title': '',
		'imageId': '69815258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815219&x=4337',
		'title': '',
		'imageId': '69815219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815240&x=4337',
		'title': '',
		'imageId': '69815240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815230&x=4337',
		'title': '',
		'imageId': '69815230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815225&x=4337',
		'title': '',
		'imageId': '69815225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815239&x=4337',
		'title': '',
		'imageId': '69815239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815218&x=4337',
		'title': '',
		'imageId': '69815218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815231&x=4337',
		'title': '',
		'imageId': '69815231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815221&x=4337',
		'title': '',
		'imageId': '69815221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815243&x=4337',
		'title': '',
		'imageId': '69815243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815202&x=4337',
		'title': '',
		'imageId': '69815202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815205&x=4337',
		'title': '',
		'imageId': '69815205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815201&x=4337',
		'title': '',
		'imageId': '69815201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815222&x=4337',
		'title': '',
		'imageId': '69815222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815235&x=4337',
		'title': '',
		'imageId': '69815235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815248&x=4337',
		'title': '',
		'imageId': '69815248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815265&x=4337',
		'title': '',
		'imageId': '69815265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004258&docid=69815263&x=4337',
		'title': '',
		'imageId': '69815263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004258';

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