var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963058&docid=68882388&x=2145',
		'title': '',
		'imageId': '68882388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963058&docid=68882400&x=2145',
		'title': '',
		'imageId': '68882400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963058&docid=68882402&x=2145',
		'title': '',
		'imageId': '68882402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963058&docid=68882396&x=2145',
		'title': '',
		'imageId': '68882396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963058&docid=68882386&x=2145',
		'title': '',
		'imageId': '68882386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963058&docid=68882392&x=2145',
		'title': '',
		'imageId': '68882392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963058&docid=68882387&x=2145',
		'title': '',
		'imageId': '68882387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963058&docid=68882403&x=2145',
		'title': '',
		'imageId': '68882403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963058&docid=68882393&x=2145',
		'title': '',
		'imageId': '68882393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963058&docid=68882395&x=2145',
		'title': '',
		'imageId': '68882395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963058&docid=68882391&x=2145',
		'title': '',
		'imageId': '68882391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963058&docid=68882389&x=2145',
		'title': '',
		'imageId': '68882389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963058&docid=68882398&x=2145',
		'title': '',
		'imageId': '68882398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963058&docid=68882401&x=2145',
		'title': '',
		'imageId': '68882401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963058&docid=68882384&x=2145',
		'title': '',
		'imageId': '68882384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963058&docid=68882390&x=2145',
		'title': '',
		'imageId': '68882390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963058&docid=68882394&x=2145',
		'title': '',
		'imageId': '68882394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963058&docid=68882399&x=2145',
		'title': '',
		'imageId': '68882399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963058&docid=68882385&x=2145',
		'title': '',
		'imageId': '68882385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963058&docid=68882404&x=2145',
		'title': '',
		'imageId': '68882404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963058&docid=68882397&x=2145',
		'title': '',
		'imageId': '68882397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963058&docid=68882383&x=2145',
		'title': '',
		'imageId': '68882383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963058';

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