var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3993283&docid=69333838&x=4016',
		'title': '',
		'imageId': '69333838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993283&docid=69333836&x=4016',
		'title': '',
		'imageId': '69333836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993283&docid=69333845&x=4016',
		'title': '',
		'imageId': '69333845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993283&docid=69333849&x=4016',
		'title': '',
		'imageId': '69333849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993283&docid=69333853&x=4016',
		'title': '',
		'imageId': '69333853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993283&docid=69333852&x=4016',
		'title': '',
		'imageId': '69333852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993283&docid=69333839&x=4016',
		'title': '',
		'imageId': '69333839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993283&docid=69333842&x=4016',
		'title': '',
		'imageId': '69333842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993283&docid=69333840&x=4016',
		'title': '',
		'imageId': '69333840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993283&docid=69333834&x=4016',
		'title': '',
		'imageId': '69333834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993283&docid=69333843&x=4016',
		'title': '',
		'imageId': '69333843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993283&docid=69333835&x=4016',
		'title': '',
		'imageId': '69333835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993283&docid=69333837&x=4016',
		'title': '',
		'imageId': '69333837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993283&docid=69333850&x=4016',
		'title': '',
		'imageId': '69333850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993283&docid=69333855&x=4016',
		'title': '',
		'imageId': '69333855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993283&docid=69333854&x=4016',
		'title': '',
		'imageId': '69333854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993283&docid=69333851&x=4016',
		'title': '',
		'imageId': '69333851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993283&docid=69333848&x=4016',
		'title': '',
		'imageId': '69333848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993283&docid=69333847&x=4016',
		'title': '',
		'imageId': '69333847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993283&docid=69333846&x=4016',
		'title': '',
		'imageId': '69333846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993283&docid=69333841&x=4016',
		'title': '',
		'imageId': '69333841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993283&docid=69333844&x=4016',
		'title': '',
		'imageId': '69333844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3993283';

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