var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010618&docid=69974155&x=2131',
		'title': '',
		'imageId': '69974155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010618&docid=69974156&x=2131',
		'title': '',
		'imageId': '69974156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010618&docid=69974157&x=2131',
		'title': '',
		'imageId': '69974157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010618&docid=69974158&x=2131',
		'title': '',
		'imageId': '69974158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010618&docid=69974159&x=2131',
		'title': '',
		'imageId': '69974159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010618&docid=69974162&x=2131',
		'title': '',
		'imageId': '69974162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010618&docid=69974165&x=2131',
		'title': '',
		'imageId': '69974165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010618&docid=69974170&x=2131',
		'title': '',
		'imageId': '69974170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010618&docid=69974171&x=2131',
		'title': '',
		'imageId': '69974171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010618&docid=69974154&x=2131',
		'title': '',
		'imageId': '69974154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010618';

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