var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880797&x=2547',
		'title': '',
		'imageId': '69880797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880819&x=2547',
		'title': '',
		'imageId': '69880819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880796&x=2547',
		'title': '',
		'imageId': '69880796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880818&x=2547',
		'title': '',
		'imageId': '69880818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880805&x=2547',
		'title': '',
		'imageId': '69880805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880813&x=2547',
		'title': '',
		'imageId': '69880813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880803&x=2547',
		'title': '',
		'imageId': '69880803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880802&x=2547',
		'title': '',
		'imageId': '69880802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880808&x=2547',
		'title': '',
		'imageId': '69880808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880804&x=2547',
		'title': '',
		'imageId': '69880804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880801&x=2547',
		'title': '',
		'imageId': '69880801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880800&x=2547',
		'title': '',
		'imageId': '69880800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880799&x=2547',
		'title': '',
		'imageId': '69880799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880798&x=2547',
		'title': '',
		'imageId': '69880798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880809&x=2547',
		'title': '',
		'imageId': '69880809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880810&x=2547',
		'title': '',
		'imageId': '69880810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880806&x=2547',
		'title': '',
		'imageId': '69880806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880811&x=2547',
		'title': '',
		'imageId': '69880811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880814&x=2547',
		'title': '',
		'imageId': '69880814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880807&x=2547',
		'title': '',
		'imageId': '69880807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880817&x=2547',
		'title': '',
		'imageId': '69880817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880816&x=2547',
		'title': '',
		'imageId': '69880816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880815&x=2547',
		'title': '',
		'imageId': '69880815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006929&docid=69880812&x=2547',
		'title': '',
		'imageId': '69880812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006929';

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