var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3926789&docid=68059441&x=2014',
		'title': '',
		'imageId': '68059441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926789&docid=68059448&x=2014',
		'title': '',
		'imageId': '68059448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926789&docid=68059457&x=2014',
		'title': '',
		'imageId': '68059457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926789&docid=68059464&x=2014',
		'title': '',
		'imageId': '68059464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926789&docid=68059479&x=2014',
		'title': '',
		'imageId': '68059479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926789&docid=68059483&x=2014',
		'title': '',
		'imageId': '68059483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926789&docid=68059491&x=2014',
		'title': '',
		'imageId': '68059491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926789&docid=68059494&x=2014',
		'title': '',
		'imageId': '68059494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926789&docid=68059501&x=2014',
		'title': '',
		'imageId': '68059501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926789&docid=68059504&x=2014',
		'title': '',
		'imageId': '68059504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926789&docid=68059508&x=2014',
		'title': '',
		'imageId': '68059508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926789&docid=68059513&x=2014',
		'title': '',
		'imageId': '68059513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926789&docid=68059517&x=2014',
		'title': '',
		'imageId': '68059517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926789&docid=68059523&x=2014',
		'title': '',
		'imageId': '68059523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926789&docid=68059526&x=2014',
		'title': '',
		'imageId': '68059526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926789&docid=68059529&x=2014',
		'title': '',
		'imageId': '68059529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926789&docid=68059532&x=2014',
		'title': '',
		'imageId': '68059532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3926789';

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