var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763564&x=4030',
		'title': '',
		'imageId': '69763564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763547&x=4030',
		'title': '',
		'imageId': '69763547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763557&x=4030',
		'title': '',
		'imageId': '69763557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763580&x=4030',
		'title': '',
		'imageId': '69763580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763587&x=4030',
		'title': '',
		'imageId': '69763587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763556&x=4030',
		'title': '',
		'imageId': '69763556',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763592&x=4030',
		'title': '',
		'imageId': '69763592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763593&x=4030',
		'title': '',
		'imageId': '69763593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763599&x=4030',
		'title': '',
		'imageId': '69763599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763565&x=4030',
		'title': '',
		'imageId': '69763565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763575&x=4030',
		'title': '',
		'imageId': '69763575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763596&x=4030',
		'title': '',
		'imageId': '69763596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763569&x=4030',
		'title': '',
		'imageId': '69763569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763566&x=4030',
		'title': '',
		'imageId': '69763566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763586&x=4030',
		'title': '',
		'imageId': '69763586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763583&x=4030',
		'title': '',
		'imageId': '69763583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763574&x=4030',
		'title': '',
		'imageId': '69763574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763548&x=4030',
		'title': '',
		'imageId': '69763548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763543&x=4030',
		'title': '',
		'imageId': '69763543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763551&x=4030',
		'title': '',
		'imageId': '69763551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763546&x=4030',
		'title': '',
		'imageId': '69763546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763545&x=4030',
		'title': '',
		'imageId': '69763545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002006&docid=69763544&x=4030',
		'title': '',
		'imageId': '69763544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4002006';

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