var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947495&docid=68527384&x=2829',
		'title': '',
		'imageId': '68527384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947495&docid=68527401&x=2829',
		'title': '',
		'imageId': '68527401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947495&docid=68527416&x=2829',
		'title': '',
		'imageId': '68527416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947495&docid=68527414&x=2829',
		'title': '',
		'imageId': '68527414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947495&docid=68527418&x=2829',
		'title': '',
		'imageId': '68527418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947495&docid=68527415&x=2829',
		'title': '',
		'imageId': '68527415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947495&docid=68527400&x=2829',
		'title': '',
		'imageId': '68527400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947495&docid=68527402&x=2829',
		'title': '',
		'imageId': '68527402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947495&docid=68527403&x=2829',
		'title': '',
		'imageId': '68527403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947495&docid=68527406&x=2829',
		'title': '',
		'imageId': '68527406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947495&docid=68527404&x=2829',
		'title': '',
		'imageId': '68527404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947495&docid=68527407&x=2829',
		'title': '',
		'imageId': '68527407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947495&docid=68527405&x=2829',
		'title': '',
		'imageId': '68527405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947495&docid=68527408&x=2829',
		'title': '',
		'imageId': '68527408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947495&docid=68527409&x=2829',
		'title': '',
		'imageId': '68527409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947495&docid=68527412&x=2829',
		'title': '',
		'imageId': '68527412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947495&docid=68527410&x=2829',
		'title': '',
		'imageId': '68527410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947495&docid=68527411&x=2829',
		'title': '',
		'imageId': '68527411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947495&docid=68527413&x=2829',
		'title': '',
		'imageId': '68527413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947495&docid=68527417&x=2829',
		'title': '',
		'imageId': '68527417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947495';

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